Chapter 5: Switching Commands 545
The following shows example CLI display output for the command.
(CN1610) #show port-security static 1/0/1
Number of static MAC addresses configured: 2
Statically configured MAC Address VLAN ID Sticky
--------------------------------- ------- ------
00:00:00:00:00:01 2 Yes
00:00:00:00:00:02 2 No
show port-security
violation
This command displays the source MAC address of the last packet discarded on a
locked port. Instead of slot/port
,
lag
lag-intf-num
can be used as an alternate
way to specify the LAG 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
{
slot/port
| lag lag-id}
Mode Privileged EXEC
Term Definition
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.