2 show port-security – PLANET WGSW-50040 User Manual

Page 149

Advertising
background image

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

8.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

Ethernet1/5 1 0 Protect

-----------------------------------------------------------------------------------------------------

Max Addresses limit in System :128

Total Addresses in System :2

Displayed information

Explanation

Security Port

Is port enabled as a secure port.

MaxSecurityAddr

The maximum secure MAC address number set for the security port.

Advertising