
xStackĀ® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide
642
DGS-3420-28SC:admin# config port_security log state enable
Command: config port_security log state enable
Success.
64-9 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 and 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 - Specifies to enable the port security trap.
disable - Specifies to disable the 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-3420-28SC:admin# config port_security trap state enable
Command: config port_security trap state enable
Success.