xStack
®
DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide
767
76-9 config port_security log state
Description
This command is used to enable or disable the port security log. When the port security log is
enabled, if there is a new MAC that violates the pre-defined port security configuration, the MAC,
port and other relevant information will be logged, otherwise, no log will be generated.
Format
config port_security log state [enable | disable]
Parameters
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
Example
To enable the port security log: