Chapter 12 commands for port security, 1 clear port-security, Chapter 12 commands for port security -224 – PLANET WGSW-52040 User Manual

Page 225: Clear port, Security

Advertising
background image

12-224

Chapter 12 Commands for PORT

SECURITY

12.1 clear port-security

Command:

clear port-security {all | configured | dynamic | sticky} [[address <mac-addr> | interface <interface-id>] [vlan

<vlan-id> ]]

Function:

Clear the secure MAC entries for the interfaces.

Parameter:

all:All secure MAC entries on the interfaces

configured:The configured secure MAC

dynamic:The dynamic secure MAC learnt by the interface

sticky:The secure MAC of sticky

mac-addr:The specified secure MAC address

interface-id:The secure MAC entries of the specified interface

vlan-id:The specified VLAN

Default:

None.

Command Mode:

Admin mode

Usage Guide:

None.

Example:

Clear all secure MACs on the interface.

Switch#clear port-security all

Advertising