DGS-3200 Series Layer 2 Gigabit Managed Switch CLI Manual
204
Format
enable port_security trap_log
Description
When the
port_security
trap is enabled, if there's a new MAC that violates the pre-defined port security
configuration, a trap will be sent out with the info of the MAC and port, and the relevant information will be
logged.
Parameters
None.
Restrictions
You must have administrator privileges.
Example
To enable a port security trap:
D G S - 3 2 0 0 - 1 0 : 4 #
e n a b l e p o r t _ s e c u r i t y t r a p _ l o g
C o m m a n d : e n a b l e p o r t _ s e c u r i t y t r a p _ l o g
S u c c e s s .
D G S - 3 2 0 0 - 1 0 : 4 #
25-6 disable port_security trap_log
Purpose
Used to disable a port security trap/log.
Format
disable port_security trap_log
Description
If the
port_security
trap is disabled, no trap will be sent out for MAC violations.
Parameters
None.
Restrictions
You must have administrator privileges.
Example
To prevent port security traps from being sent from the switch: