xStack
®
DGS-3120 Series Managed Switch CLI Reference Guide
548
DGS-3120-24TC:admin#show port_security
Command: show port_security
Port Security Trap State : Disabled
Port Security Log State : Disabled
System Maximum Address : 256
VLAN Configuration (Only VLANs with limitation are displayed)
VID VLAN Name Max. Learning Addr.
---- -------------------------------- ------------------
1 default 64
DGS-3120-24TC:admin#
56-8
config port_security trap state
Description
This command is used to enable or disable the sending of port security traps. When the port
security trap is enabled, if there is a new MAC that violates the pre-defined port security
configuration, a trap will be sent out with the information about the MAC address and port. If the
port security trap is disabled, no trap will be sent out for a MAC address violation.
Format
config port_security trap state [enable | disable]
Parameters
enable
- Enable port security trap.
disable
- Disable port security trap.
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
Example
To enable the sending of port security traps:
DGS-3120-24TC:admin#config port_security trap state enable
Command: config port_security trap state enable
Success.
DGS-3120-24TC:admin#