Clear port-security – ADTRAN 1000R Series User Manual

Page 69

Advertising
background image

Command Reference Guide

Enable Mode Command Set

61200510L1-35E

Copyright © 2005 ADTRAN

69

clear port-security

Use the clear port-security command to clear the dynamic or sticky secure media access control (MAC)
addresses associated with an interface. This can be done on a per-address or per-port basis. Variations of
this command include the following:

clear port-security dynamic address <address>

clear port-security dynamic interface <interface id>

clear port-security sticky address <address>

clear port-security sticky interface <interface id>

Syntax Description

dynamic

Clears the dynamic MAC addresses.

sticky

Clears the sticky secure MAC addresses.

address <address>

Clears the information for the specified address.

interface <interface id> Clears the information for the specified interface. Type clear port-security sticky

interface ? or clear port-security dynamic interface ? for a complete list of
applicable interfaces.

Default Values

No default value necessary for this command.

Applicable Platforms

This command applies to the NetVanta 300, 1000, and 1000R Series units.

Command History

Release 8.1

Command was introduced.

Usage Examples

The following command clears all dynamic secure MAC addresses associated with the Ethernet interface
0/1:

>enable

#clear port-security dynamic interface eth 0/1

Advertising