![D-Link xStack DGS-3120-48PC Reference Manual Download Page 553](http://html.mh-extra.com/html/d-link/xstack-dgs-3120-48pc/xstack-dgs-3120-48pc_reference-manual_76212553.webp)
xStack
®
DGS-3120 Series Managed Switch CLI Reference Guide
549
56-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
enable
- Enable port security log.
disable
- Disable port security log.
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
Example
To enable the port security log:
DGS-3120-24TC:admin#config port_security log state enable
Command: config port_security log state enable
Success.
DGS-3120-24TC:admin#