DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide
135
27.
Port Security Commands
27-1
clear port-security
This command is used to delete the auto-learned secured MAC addresses.
clear port-security {all | {address
MAC-ADDR
| interface
INTERFACE-ID
[, | -]} [vlan
VLAN-ID
]}
Parameters
all
Specifies to delete all auto-learned secured entries.
address
MAC-ADDR
Specifies to delete the specified auto -learned secured entry based
on the MAC address entered.
interface
INTERFACE-ID
Specifies to delete all auto-learned secured entries on the specified
physical interface.
,
(Optional) Specifies a series of interfaces, or separate a range of
interfaces from a previous range. No space is allowed before and
after the comma.
-
(Optional) Specifies a range of interfaces. No space is allowed
before and after the hyphen.
vlan
VLAN-ID
Specifies to delete the auto-learned secured entry learned with the
specified VLAN.
Default
None.
Command Mode
Privileged EXEC Mode.
Command Default Level
Level: 15.
Usage Guideline
This command clears auto-learned secured entries, either dynamic or permanent.
Example
This example shows how to remove a specific secure address from the MAC address table.
Switch# clear port-security address 00:80:00:70:00:07
Switch#