Packet Path Troubleshoot
PREVIEW — for evaluation, not the live site

Troubleshoot › Error Decoder › %PORT_SECURITY-2-PSECURE_VIOLATION

Decoder

What does %PORT_SECURITY-2-PSECURE_VIOLATION mean?

Port security violation: port shut down

%PORT_SECURITY-2-PSECURE_VIOLATION: Security violation occurred, caused by MAC address 001a.2b3c.4d5e on port GigabitEthernet1/0/12
In plain English: The port is configured to allow only certain MAC addresses (the hardware addresses of approved devices).

Platform: Cisco IOS / IOS XE. Values shown are the documented defaults — confirm them on your platform with the check commands below.

What it means

The port is configured to allow only certain MAC addresses (the hardware addresses of approved devices). A device with a different address tried to use the port, so the switch blocked it — with the default 'shutdown' mode, it err-disables the port and everything on it stops working.

Likely causes, in order

Check, in order

  1. show port-security interface Gi1/0/12Shows the last MAC address seen, the allowed addresses, and the violation count.
  2. show mac address-table interface Gi1/0/12What is actually connected now, before you clear anything.

The fix

Did this fix it for you? One tap — anonymous, nothing to type, and nothing you send is ever published.

Sources

More error messages

Decoder

%BGP-5-ADJCHANGE

BGP neighbor went down (or came up)

Decoder

%OSPF-5-ADJCHG

OSPF neighbor dropped

Decoder

%LINK-3-UPDOWN

Interface went down (and its line protocol followed)