Command Reference Guide
Port Security Commands
CLI Command Reference
September 2014 Page 451
HP Moonshot Switch Module CLI Command Reference
show port-security dynamic
This command displays the dynamically locked MAC addresses for the port. Instead of unit/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 unit/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.
Example: The following shows example CLI display output for the command.
(Routing) #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
Format
show port-security dynamic {unit/slot/port | lag lag-intf-num}
Mode Privileged EXEC
Term Definition
MAC Address MAC Address of dynamically learned MAC address.
VLAN ID The VLAN ID specified in the Ethernet frame received by the interface.
Format
show port-security static {unit/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.