544 Port Security Commands
Admin Dynamic Static Violation Sticky
Intf Mode Limit Limit Trap Mode Mode
------ ------- ---------- --------- --------- --------
0/1 Disabled 1 1 Disabled Enabled
show port-security
dynamic
This command displays the dynamically locked MAC addresses for the 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.
show port-security
static
This command displays the statically locked MAC addresses for 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 dynamic
slot/port
Mode Privileged EXEC
Term Definition
MAC Address MAC Address of dynamically locked MAC.
Format
show port-security static
{
slot/port
| lag lag-intf-
num}
Mode Privileged EXEC
Term Definition
Statically Configured
MAC Address
The statically configured MAC address.
VLAN ID The ID of the VLAN that includes the host with the
specified MAC address.
Sticky Indicates whether the static MAC address entry is
added in sticky mode.