DGS-6604
m
clear port-security
CLI Reference Guide
113
clear port-security
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.
clear port-security [{address
MAC-ADDR
} | {interface
INTEFACE-ID
}] [vlan
VLAN-ID
]
Default
None
Command Mode
Privileged EXEC
Usage Guideline
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.
Example
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:
Syntax Description
address
MAC-ADDR
(Optional) Deletes the specified secure MAC address auto-learned.
Interface
INTEFACE-
ID
(Optional) Deletes all secure MAC addresses auto-learned on the specified
physical.
vlan
VLAN-ID
(Optional) Deletes the specified secure MAC address from the specified VLAN.
Switch# clear port-security address 0080.0070.0007
Switch#
Switch# clear port-security interface eth3.1
Summary of Contents for DGS-6600-48TS
Page 1: ...0 9 3...