DGS-3710 Series Layer 2 Managed Gigabit Switch CLI Reference Guide
523
DGS-3710-12C:admin#show port_security ports 1-6
Command: show port_security ports 1-6
Port Configuration
Port State Lock Address Mode Max. Learning Addr.
----- ------- ------------------ -----------------
1 Disabled DeleteOnReset 32
2 Disabled DeleteOnReset 32
3 Disabled DeleteOnReset 32
4 Disabled DeleteOnReset 32
5 Disabled DeleteOnReset 32
6 Disabled DeleteOnReset 32
DGS-3710-12C:admin#
50-8
enable port_security trap_log
Description
This command is used to enable port security traps/logs. When this command is enabled, if there's
a new MAC that violates the pre-defined port security configuration, a trap will be sent out with the
MAC and port information and the relevant information will be logged.
Format
enable port_security trap_log
Parameters
None.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example
To enable a port security trap:
DGS-3710-12C:admin#enable port_security trap_log
Command: enable port_security trap_log
Success.
DGS-3710-12C:admin#
50-9
disable port_security trap_log
Description
This command is used to disable a port security trap/log. If the port security trap is disabled, no
trap will be sent out for MAC violations, and no log will be recorded.