xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
27
To clear a port security entry by port:
DGS-3627:5# clear port_security_entry port 6
Command: clear port_security_entry port 6
Success.
DGS-3627:5#
show port_security
Purpose
Used to display the current port security configuration.
Syntax
show port_security {ports <portlist>}
Description
This command is used to display port security information of the
Switch’s ports. The information displayed includes port security,
admin state, maximum number of learning address and lock mode.
Parameters
<portlist>
−
Specifies a port or range of ports to be viewed. The
beginning and end of the port list range are separated by a dash.
Restrictions
None.
Example usage:
To display the port security configuration:
DGS-3627:5#show port_security ports 1-5
Command: show port_security ports 1-5
Port Admin State Max. Learning Addr. Lock Address Mode
------ ----------------- ---------------------------- ----------------------------
1 Disabled 1 DeleteOnReset
2 Disabled 1 DeleteOnReset
3 Disabled 1 DeleteOnReset
4 Disabled 1 DeleteOnReset
5 Disabled 1 DeleteOnReset
DGS-3627:5#