xStack
®
DGS-3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide
567
Restrictions
None.
Example
To show all the port security entries:
DGS-3120-24TC:admin# show port_security_entry
Command: show port_security_entry
MAC Address VID Port Lock Mode
----------------- ---- ----- ---------------
00-00-00-00-00-01 1 25 DeleteOnTimeout
Total Entries: 1
DGS-3120-24TC:admin#
59-7
show port_security
Description
This command is used to display the port security related information, including state, maximum
learned addresses and lock address mode on a port and/or on a VLAN.
If both ports and vlanid (or vlan_name) are specified, configurations matching any of these
parameters will be displayed.
Format
show port_security {ports {<portlist>} {[vlan <vlan_name 32> | vlanid <vidlist>]}}
Parameters
ports
- (Optional) Specify the range of ports that will show their configuration. While this
parameter is null, to show the entries on all of the ports.
<portlist>
- Enter the list of port used for this configuration here.
vlan
- (Optional) Specify the name of the VLAN that will show its configuration.
<vlan_name 32>
- Enter the VLAN name here. This name can be up to 32 characters long.
vlanid
- (Optional) Specify the ID of the VLAN that will show its configuration.
<vidlist>
- Enter the VLAN ID list here.
Restrictions
None.
Example
To display the global configuration of port security:
Summary of Contents for xStack DGS-3120-24PC
Page 1: ......
Page 42: ...xStack DGS 3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 38...
Page 168: ...xStack DGS 3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 164...
Page 765: ...xStack DGS 3120 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide 761...