2 commands for mac address binding configuration, 1 clear port-security dynamic, 2 show port-security – PLANET XGS3-24040 User Manual
Page 186: Ommands for, Ddress, Inding configuration
12-52
Switch#show mac-address-table blackhole
12.2 Commands for Mac Address Binding
configuration
12.2.1 clear port-security dynamic
Command:
clear port-security dynamic [address <mac-addr> | interface <interface-id>]
Function:
Clear the Dynamic MAC addresses of the specified port.
Command mode:
Admin Mode.
Parameter:
Usage Guide:
The secure port must be locked before dynamic MAC clearing operation can be perform in specified
port. If no ports and MAC are specified, then all dynamic MAC in all locked secure ports will be
cleared; if only port but no MAC address is specified, then all MAC addresses in the specified port
will be cleared.
Example:
Delete all dynamic MAC in port1.
Switch#clear port-security dynamic interface Ethernet 1/1
12.2.2 show port-security
Command:
show port-security
Function:
Display the secure MAC addresses of the port.
Command mode:
Admin Mode and other configuration Mode.
Default:
The switch is not display port-security configuration.
Usage Guide:
This command displays the secure port MAC address information.
Example:
Switch#show port-security
Security Port MaxSecurity Addr CurrentAddr Security Action
(count) (count)
-----------------------------------------------------------------------------------------------------
Ethernet1/1 1 1 Protect
Ethernet1/3 10 1 Protect