Scenario
Ticket: the reception desk (Fa0/1) has a PC and, since last week, a network printer behind a small unmanaged switch. Fa0/1 went err-disabled and the desk is offline. Policy: Fa0/1 allows exactly those 2 devices, learned and kept (sticky), and a stranger must still shut the port down. Fa0/2 (one PC, one device allowed, shutdown on violation) works and must not change. Fa0/3 is the meeting-room wall socket: it has no port security yet. Policy for Fa0/3: one device, and a stranger is logged and dropped, but the port stays up (restrict).
Topology
Requirements
- 1Fa0/1 allows 2 secure MAC addresses
- 2Fa0/1 is connected again and keeps both devices
- 3Fa0/1 keeps sticky learning and the violation action shutdown
- 4Fa0/2 is unchanged: one device, shutdown, and the port is connected
- 5Fa0/3 has port security with 1 device and the violation action restrict
SW1 has port security on some ports. Type ? for the commands you can use. Start with: enable
SW1> show running-config
CCNA lab · about 15 min
Troubleshoot: Fa0/1 is err-disabled by port security and Fa0/3 is unprotected
Three faults, a port shut down by port security with a limit that is too small, and a port with no port security, leave one desk offline and one wall socket open. Find them with show port-security.
This lab is included in the CCNA plans and in the free trial.