show port-security violation

This command displays the source MAC address of the last packet discarded on a locked port. Instead of unit/slot/port, lag lag-intf-num can be used as an alternate way to specify the LAG (Link Aggregation Group) interface. lag lag-intf-num can also be used to specify the LAG interface where lag-intf-num is the LAG port number.

Format show port-security violation {unit/slot/port | lag lag-id}
Mode Privileged EXEC
Column
Meaning
MAC Address The source MAC address of the last frame that was discarded at a locked port.
VLAN ID The VLAN ID, if applicable, associated with the MAC address of the last frame that was discarded at a locked port.