What is Port Security?
What functons does Port Security perform?
How can you define what MAC addresses are allowed on an interface in port-security?
What is a Sticky Secure MAC Address?
True or False. Port security runs on trunks and access ports.
True.
True or False. Port security runs on switchports that have dynamically learnt their state via DTP.
False. Access or trunk has to be statically set on the interface. It also must be the Administrative Mode not the Operational Mode.
What command do you use to enable port security on an interface? What other commands add onto this?
-To enable Port Security:
‘switchport port-security’
True or False. Interfaces will still perform MAC learning when they have reached their maximum MAC address limit.
False, MAC addresses will not be added to the MAC address table. However, the last MAC that was allowed on the interface will still show up in ‘show switchport port-security int’.
True or False. The switch automatically saves any MAC addresses learned by Port Security that uses sticky mode.
False. You will need manually save the switch config.
True or False. Port security can be implemented on Etherchannels
True. It should be performed on the Etherchannel interface rather than the physical interfaces participating in the Etherchannel.
What command can you use to find information on port-security? What information does it show?
‘show port-security interface <Interface>'</Interface>
This can show:
- Port Security enabled/disabled
- The interface mode that port-security has entered it into
- The violation mode of the interface
- The maximum MAC addresses (including sticky) learned on the interface
- The last source address learned
- The number of security violations that have occurred
You can also use ‘show port-security’ which shows a brief of this information
What does the port-security violation mode do?
What are examples of a port-security violation?
List whether port-security violation modes discard offending traffic
List whether port-security violation modes send log and SNMP messages
List whether port-security violation modes disable an interface by putting it in an err-disabled state
What happens to an interface when Shutdown port-security mode is set and a violation occurs?
True or False. An interface can automatically recover from being put into an err-disabled state.
False by default. Unless one of the below commands is configured you need to shutdown and no shutdown the interface:
What is the main difference between violation mode Shutdown and modes Protect and Restrict?
What is the main difference between violation mode Protect and violation mode Restrict?
When you first enable port-security, how does a switch determine what MAC addresses to allow?
List whether port-security violation modes increment their violation counter
What is the default port-security violation mode?
Shutdown
What is Secure MAC Aging?