DGS-6604
m
clear port-security
clear port-security [{address MAC-ADDR } | {interface INTEFACE-ID }] [vlan VLAN-ID]
Syntax Description
address MAC-ADDR
Interface INTEFACE-
ID
vlan VLAN-ID
Default
Command Mode
Usage Guideline
Example
Switch# clear port-security address 0080.0070.0007
Switch#
Switch# clear port-security interface eth3.1
CLI Reference Guide
To delete all of the secured MAC addresses, except for manually configured
secured MAC addresses, from the MAC address table, use the clear port-
security command.
(Optional) Deletes the specified secure MAC address auto-learned.
(Optional) Deletes all secure MAC addresses auto-learned on the specified
physical.
(Optional) Deletes the specified secure MAC address from the specified VLAN.
None
Privileged EXEC
This command clears secure MAC address that are auto-learned only and not
manually configured MAC addresses.
If the clear port-security command is entered without adding any keywords or
arguments, the switch removes all the secure MAC addresses from the MAC
address table.
If the clear port-security interface INTERFACE-ID command is entered, all the
secure MAC addresses auto-learned on the specified interface are removed from
the MAC address table.
This example shows how to remove a specific secure address from the MAC
address table:
This example shows how to remove all the secure MAC addresses auto-learned
on a specific interface:
clear port-security
113