A technician notices that a workstation connected to a Cisco switch port shows a link light but cannot reach any other device. The switch output shows the port in the err-disabled state with the reason psecure-violation. Which action should the technician take to restore connectivity while keeping the security feature active?
A psecure-violation err-disabled state occurs when an unauthorized MAC address appears on a port with port security enabled. Removing the offending device or clearing the learned address and then cycling the interface with shutdown and no shutdown restores service while port security remains configured and enforced. This satisfies both restoring connectivity and keeping the security feature active.
Why this answer
The err-disabled reason psecure-violation means port security detected a MAC address beyond the allowed maximum or an address not in the secure table. The correct recovery is to eliminate the offending device or address and then re-enable the interface with shutdown followed by no shutdown. This clears the violation while leaving port security configured, so the protection remains in force for future unauthorized connections.
Exam trap
The trap here is reaching for errdisable recovery or removing security instead of correcting the violation cause.