L2 Security Features Flashcards
Port security allows you to:
Control which source MAC addresses are allowed to enter a switchport
If an unauthorized source MAC address enters a port, the default action is:
Put the interface in an ‘err-disabled’ state
With default settings, when port security is enabled, how many MAC addresses are allowed per port?
1
T/F: With default settings, when port security is enabled, the switch will allow the first source MAC address that enters the interface
T
T/F: With default settings, when port security is enabled, the switch will allow the most recently seen source MAC address that enters the interface
F
The first source MAC seen will be allowed by default
T/F: You can change the maximum number of MAC addresses allowed by port security
T
T/F: VoIP phone MACs do not count toward the number of source MAC addresses considered by port security
F
T/F: VoIP phone MACs do count toward the number of source MAC addresses considered by port security
T
T/F: The port security allowed source MAC has to be manually configured on the switch
F
By default, the MAC is dynamically learned from the first seen source MAC
Explain why port security is useful
Controlling which devices are allowed to access the network.
Explain which feature set of port security is more useful, specifying allowed MACs, or limiting the number of allowed MACs
Limiting the number of allowed MACs
MAC address spoofing is easy, but limiting the number of source MACs per interface means we can help mitigate the threat of DHCP starvation and other similar attacks
What is the command to enable port security on an interface
switchport port-security
T/F: Port security can be enabled on access and trunk ports, but they must first be statically configured as either trunks or access
T
T/F: Port security can only be enabled on dynamic or access ports
F
Port security can only be enabled on static trunks or static access ports
T/F: Port security can only be enabled on DTP dynamic auto or DTP dynamic desirable ports
F
Port security can’t be enabled on any DTP dynamic ports, regardless if auto or desirable
T/F: Port security can only be enabled on access ports
F
Port security can be enabled on both access and trunk ports, so long as they are statically configured as such
What must first be configured on an interface before the command switchport port-security will be accepted
Statically configuring the port as either a trunk or access port using switchport mode mode
T/F: By default, learned allowed source MACs do not age out
T
T/F: By default, learned allowed source MACs age out
F
Instead of having to shut-no-shut an ErrDisabled switchport, you can use:
errdisable recovery
T/F: By default, ErrDisable recovery is disabled for all ErrDisable reasons
T
T/F: By default, ErrDisable recovery is enabled for all ErrDisable reasons
F
Explain the default settings for ErrDisable recovery
Every 5 minutes (by default timer), all err-disabled interfaces will be re-enabled if and only if err-disable recovery has been enabled for the cause of the interface’s disablement
What is the command to enable ErrDisable recovery for a specific ErrDisable cause
errdisable recovery cause err-disable-reason