A network administrator configures port security on access interface GigabitEthernet0/1 of a Cisco Catalyst switch by executing `switchport port-security` and `switchport port-security mac-address sticky`. Hosts connect successfully and their MAC addresses are dynamically learned by the switch. However, after an unscheduled switch reboot, the administrator discovers that the dynamically learned MAC addresses were removed and hosts must re-trigger learning. Which operational step was omitted prior to the switch restart?
- Saving the running configuration to the startup configuration in NVRAM using the `copy running-config startup-config` command.Answer
- BConfiguring static aging with the `switchport port-security aging type static` interface command.
- CSetting the port security violation mode to restrict using the `switchport port-security violation restrict` command.
- DEnabling DHCP Snooping globally to populate the Layer 2 port security binding table automatically.
Answer
The network administrator omitted saving the running configuration to the startup configuration using the `copy running-config startup-config` command.
When `switchport port-security mac-address sticky` is configured, the switch dynamically adds learned MAC addresses into the active `running-config` file. Because `running-config` resides in volatile RAM memory, any dynamically learned MAC addresses are lost upon a reboot unless the administrator explicitly copies the running configuration to the startup configuration using `copy running-config startup-config` (or `write memory`).
Step-by-Step Solution
Key Concept
Port Security Sticky MAC Persistence across Switch Reboots