Clear Port-Security - Cisco ME 3400 Command Reference Manual

Ethernet access switch
Table of Contents

Advertisement

Chapter 2
Cisco ME 3400 Ethernet Access Switch Cisco IOS Commands

clear port-security

Use the clear port-security privileged EXEC command to delete from the MAC address table all secure
addresses or all secure addresses of a specific type (configured, dynamic, or sticky) on the switch or on
an interface.
Syntax Description
all
configured
dynamic
sticky
address mac-addr
interface interface-id
vlan
Defaults
No default is defined.
Command Modes
Privileged EXEC
Command History
Release
12.2(25)EX
Examples
This example shows how to clear all secure addresses from the MAC address table:
Switch# clear port-security all
This example shows how to remove a specific configured secure address from the MAC address table:
Switch# clear port-security configured address 0008.0070.0007
This example shows how to remove all the dynamic secure addresses learned on a specific interface:
Switch# clear port-security dynamic interface gigabitethernet0/1
This example shows how to remove all the dynamic secure addresses from the address table:
Switch# clear port-security dynamic
OL-9640-07
clear port-security {all | configured | dynamic | sticky} [[address mac-addr | interface
interface-id] [vlan {vlan-id | {access | voice}}]]
Delete all secure MAC addresses.
Delete configured secure MAC addresses.
Delete secure MAC addresses auto-learned by hardware.
Delete secure MAC addresses, either auto-learned or configured.
(Optional) Delete the specified dynamic secure MAC address.
(Optional) Delete all the dynamic secure MAC addresses on the specified
physical port or VLAN.
(Optional) Delete the specified secure MAC address from the specified
VLAN. Enter one of these options after you enter the vlan keyword:
Modification
This command was introduced.
vlan-id—On a trunk port, specify the VLAN ID of the VLAN on which
this address should be cleared.
access—On an access port, clear the specified secure MAC address on
the access VLAN.
Cisco ME 3400 Ethernet Access Switch Command Reference
clear port-security
2-49

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents