14 - Security Services II - Port Security Flashcards
How does Port security work?
Identifying devices based on their source MAC from Ethernet frames to restrict which devices can be connected either statically or dynamically
What are Sticky secure MAC addresses?
Port security feature that learns the MAC addresses off each port and adds them to the running-config file so that you do not have to pre-configure them
What command is used to enable port security on an interface?
Interface subcommand:
switchport port-security
What switchport configuration command is used to set the maximum number of allowed MACs?
switchport port-security maximum 10
What switchport configuration command is used to override the default action to take upon violation?
switchport port-security violation {protect | restrict | shutdown}
How do you predefine an allowed source MAC for an interface?
switchport port-security mac-address 0200.1111.1111
How do you make an interface ‘sticky learn’ MACs for port security?
switchport port-security mac-address sticky
What is the difference between dynamic and sticky Port security?
Sticky saves Port security commands in the running config whereas dynamic does not
What do you need to make sure you do if you are configuring port security on voice ports?
Make sure you configure it to allow at least 2 MACs
Where would you configure Port security for Ether-channels?
On the port-channel interface, not the individual interfaces that make up the channel
How do you verify Port security?
show port-security interface Ge0/1
How do you show all MAC addresses that are associated with ports using Port security?
show mac address-table secure
How do you show all MAC addresses that are associated with ports using Port security, and any other statically defined MACs?
show mac address-table static
True/False: Sticky learned MACs for Port security show in the output of dynamic MAC addresses (show mac address-table dynamic)
False.
Sticky learned addresses are considered to be static entries
How do you show MAC address table entries just for a specific interface?
show mac address-table {secure} interface Ge0/1