xStack
®
DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide
764
76-5
clear port_security_entry
Description
This command is used to clear the MAC entries learned by the port security function.
Format
clear port_security_entry {ports [<portlist> | all] {[vlan <vlan_name 32> | vlanid <vidlist>]}}
Parameters
ports
- (Optional) Specify the range of ports to be configured.
<portlist>
- The port security entries learned on the specified port will be cleared.
all
- All the port security entries learned by the system will be cleared.
vlan
- (Optional) The port security entries learned on the specified VLANs will be cleared.
<vlan_name 32>
- Enter the VLAN name here. This name can be up to 32 characters long.
vlanid
- (Optional) Specify a list of VLANs by VLAN ID.
<vidlist>
- Enter the VLAN ID list here.
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
Example
To clear the port security entries on port 6:
DGS-3120-24TC:admin# clear port_security_entry ports 6
Command: clear port_security_entry ports 6
Success.
DGS-3120-24TC:admin#
76-6
show port_security_entry
Description
This command is used to display the port security entries.
If more than one parameter is selected, only the entries matching all the selected parameters will
be displayed.
If the user specifies ports and VLAN (either the VLAN name or VLAN ID list), only the entries
matching all the parameters will be displayed.
Format
show port_security_entry {ports {<portlist>} {[vlan <vlan_name 32> | vlanid <vidlist>]}}
Parameters
ports
- (Optional) Specify the range of ports that will display the port security entries. While this
Summary of Contents for xStack DGS-3120-24PC
Page 1: ......
Page 186: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 181 ...
Page 204: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 199 ...
Page 363: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 358 ...
Page 1056: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 1051 ...