Clear Port-Security - Cisco Catalyst 3750-X Command Reference Manual

Cisco ios release 15.2(1)e and later
Hide thumbs Also See for Catalyst 3750-X:
Table of Contents

Advertisement

clear port-security

clear port-security
Use the clear port-security privileged EXEC command on the switch stack or on a standalone switch
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(53)SE2
Catalyst 3750-X and 3560-X Switch Command Reference
2-116
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:
Note
Modification
This command was introduced.
Chapter 2
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.
voice—On an access port, clear the specified secure MAC address on the
voice VLAN.
The voice keyword is available only if voice VLAN is configured on
a port and if that port is not the access VLAN.
Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
OL-29704-01

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 3560-x

Table of Contents