A network administrator configures an access port on a Cisco Catalyst switch using the commands `switchport port-security` and `switchport port-security mac-address sticky`. A host connects to the port, and its MAC address is dynamically learned and written to the running configuration. Shortly after, the switch experiences an unexpected reboot due to a brief power failure, before `copy running-config startup-config` or `write memory` was executed. What happens to the learned sticky MAC address on this interface after the switch completes its boot sequence?
- The learned sticky MAC address is lost from memory, and the switch port dynamically learns the MAC address of the first frame received post-reboot.Answer
- BThe sticky MAC address automatically persists in NVRAM across reboots without needing a manual configuration save command.
- CThe interface enters an err-disabled state immediately upon booting because the unmapped MAC address conflicts with native VLAN tagging.
- DThe switch sends a TACACS+/RADIUS request to restore the pre-reboot sticky MAC table from the centralized authentication server.
Answer
The learned sticky MAC address is lost from RAM, causing the port to dynamically re-learn the MAC address of the next device that transmits frames on the link.
Enabling sticky MAC learning (`switchport port-security mac-address sticky`) automatically adds dynamically learned MAC addresses into the volatile `running-config` stored in RAM. If the switch reboots before `copy running-config startup-config` is executed, the learned MAC entries are lost, and the port will learn the MAC address of the next frame transmitted post-reboot.
Step-by-Step Solution
Key Concept
Port Security Sticky MAC Address Persistence