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 
 
Restrictions 
Only Administrator, Operator and Power-User level users can issue this command. 
 
Example 
To enable the sending of port security traps: