Following an unexpected reboot of an enterprise access switch, users connected to interface GigabitEthernet1/0/12 report a complete loss of network connectivity. Upon investigation, the network administrator discovers that the dynamically learned MAC address added to the port security table prior to the switch reload is missing, causing the switch to reject traffic from the connected workstation. Which administrative action was omitted prior to the reboot that resulted in the loss of the sticky MAC address?
- Saving the running configuration to the startup configuration in NVRAM using the command `copy running-config startup-config`.Answer
- BManually converting each learned MAC address into a static port-security entry using `switchport port-security mac-address MAC_ADDRESS`.
- CConfiguring the interface native VLAN to match the trunk encapsulation parameter on uplink interfaces.
- DAdding an `ip helper-address` statement on the access switch port to forward binding database updates to non-volatile memory.
Answer
Saving the running configuration to the startup configuration in NVRAM using the command `copy running-config startup-config`.
The correct answer identifies that executing `copy running-config startup-config` is required to save dynamically learned sticky MAC entries from volatile RAM into NVRAM. Enabling sticky port security causes the switch to dynamically append learned MAC addresses into the running configuration. However, because RAM contents are lost during a reboot, failing to save the running configuration causes the switch to start up without those learned MAC addresses.
Step-by-Step Solution
Key Concept
Port Security Sticky MAC Persistence across Reboots
Estimated Time:1m 15s