Security Fundamentals Flashcards
(91 cards)
Enable port security on an interface:
SW1(config-if)# […]
switchport port-security
Manually configure a secure MAC address on the interface.
SW1(config-if)# […]
switchport port-security mac-address mac-address
Enable sticky secure MAC address learning:
SW1(config-if)# […]
switchport port-security mac-address sticky
Configure the port security violation mode:
SW1(config-if)# […]
switchport port-security violation {shutdown | restrict | protect}
Configure the port security aging time:
SW1(config-if)# […]
switchport port-security aging time minutes
Configure the port security aging type:
SW1(config-if)# […]
switchport port-security aging type {absolute | inactivity}
Enable aging of static secure MAC addresses
SW1(config-if)# […]
switchport port-security aging static
Enable errdisable recovery for port security violations:
SW1(config)# […]
errdisable recovery cause psecure-violation
Configure the errdisable recovery interval:
SW1(config)# […]
errdisable recovery interval seconds
Show all secure MAC addresses on the switch:
SW1# […]
show mac address-table secure
Show a summary of port security-enabled switchports
SW1# […]
show port-security
Show port security information for an individual switchport
SW1# […]
show port-security interface interface
Show a summary of errdisable recovery information:
SW1# […]
show errdisable recovery
Port security [can/can’t] be enabled on an interface configured as switchport mode dynamic auto
can’t
Port security [can/can’t] be enabled on an interface configured as switchport mode dynamic desirable
can’t
When an interface is shutdown by port security, its status in the output of show interfaces status will be […]
err-disabled
Manually re-enable an interface disabled by port security:
SW1(config-if)# […]
SW1(config-if)# […]
shutdown
no shutdown
The default errdisable recovery timer is […]
300 seconds (5 minutes)
Errdisable recovery is [enabled/disabled] by default for all causes.
disabled
What is the default port security violation mode?
Shutdown
Port security shutdown violation mode:
Syslog/SNMP messages [are/aren’t] generated.
are
Port security restrict violation mode:
Syslog/SNMP messages [are/aren’t] generated.
are
Port security protect violation mode:
Syslog/SNMP messages [are/aren’t] generated.
aren’t
Port security shutdown violation mode:
The interface [is/isn’t] disabled.
is