DES-3028 DES-3028P DES-3028G DES-3052 DES-3052P Layer 2 Fast Ethernet Switch CLI Reference Manual
31
DES-3028P:4# clear port_security_entry port 6
Command: clear port_security_entry port 6
Success.
DES-3028P:4#
show port_security
Purpose
Used to display the current port security configuration.
Syntax
show port_security {ports <auth_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
<auth_portlist>
Specifies a port or range of ports to be viewed.
Restrictions None.
Example usage:
To display the port security configuration:
DES-3028P:4#show port_security ports 1-10
Command: show port_security ports 1-10
Port_security Trap/Log : Disabled
Port Admin State Max. Learning Addr. Lock Address Mode
---- ----------- ------------------ -----------------
1 Disabled 1 DeleteOnTimeout
2 Disabled 1 DeleteOnTimeout
3 Disabled 1 DeleteOnTimeout
4 Disabled 1 DeleteOnTimeout
5 Disabled 1 DeleteOnTimeout
6 Disabled 1 DeleteOnTimeout
7 Disabled 1 DeleteOnTimeout
8 Disabled 1 DeleteOnTimeout
9 Disabled 1 DeleteOnTimeout
10 Disabled 1 DeleteOnTimeout
DES-3028P:4#
enable port_security trap_log
Purpose
Used to enable the trap log for port security.
Syntax
enable port_security trap_log
Description
This command, along with the
disable port_security trap_log,
will
enable the sending of log messages to the Switch’s log and SNMP
agent when the port security of the Switch has been triggered.
Parameters None.
Restrictions None.
Example usage: