DXS-1210 Series Smart Managed Switch CLI Reference Guide
244
31.
Port Security Commands
31-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 [, | -]}}
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.
Default
None.
Command Mode
Privileged EXEC Mode.
Command Default Level
Level: 12.
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 0080.0070.0007
Switch#
31-2
show port-security
This command is used to display the current port security settings.
show port-security [ [[interface INTERFACE-ID [, | -]] | [address] ]
Parameters
INTEFACE-ID
Specifies the ID of the interface to be displayed.
,
(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