xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide
756
vlan - (Optional) Specify a VLAN to display its configuration.
<vlan_name 32> - Specify the VLAN name. The maximum length is 32 characters.
vlanid - (Optional) Specify a VLAN list to display the configuration.
<vidlist> - Specify a list of the VLAN IDs.
Restrictions
None.
Example
To display the global configuration of port security:
DGS-3420-28SC:admin# show port_security
Command: show port_security
Port Security Trap State : Disabled
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