
xStackĀ® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide
641
Port Security Log State : Disabled
System Maximum Address : 512
VLAN Configuration (Only VLANs with limitation are displayed)
VID VLAN Name Max. Learning Addr.
---- -------------------------------- -------------------
1 default 64
2 TstVLAN 8
To display the port security information of switch ports 1 to 6:
DGS-3420-28SC:admin#show port_security ports 1-6
Command: show port_security ports 1-6
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-3420-28SC:admin#
64-8 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 and 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
- Specifies to enable the port security log.
disable - Specifies to disable the port security log.
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
Example
To enable the port security log: