Clear Port-Security Dynamic - Cisco Catalyst 2950 Command Reference Manual

Desktop switch
Hide thumbs Also See for Catalyst 2950:
Table of Contents

Advertisement

Chapter 2
Cisco IOS Commands

clear port-security dynamic

Use the clear port-security dynamic privileged EXEC command to delete from the MAC address table
a specific dynamic secure address or all the dynamic secure addresses on an interface.
Syntax Description
address mac-addr
interface interface-id
Defaults
No default is defined.
Command Modes
Privileged EXEC
Command History
Release
12.1(11)EA1
Examples
This example shows how to remove a specific dynamic secure address from the MAC address table:
Switch# clear port-security dynamic 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
You can verify that the information was deleted by entering the show port-security privileged EXEC
command.
Related Commands
Command
switchport port-security
switchport port-security
mac-address mac-address
switchport port-security
value
show port-security
78-11381-05
clear port-security dynamic [address mac-addr | interface interface-id]
(Optional) Delete the specified dynamic secure MAC address.
(Optional) Delete all the dynamic secure MAC addresses on the specified
physical port or port channel.
Modification
This command was first introduced.
maximum
Description
Enables port security on an interface.
Configures secure MAC addresses.
Configures a maximum number of secure MAC addresses on a
secure interface.
Displays the port security settings defined for an interface or for
the switch.
Catalyst 2950 Desktop Switch Command Reference
clear port-security dynamic
2-19

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents