DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide
525
Example
To configure the maximum number of VLAN-based port security entries on VLAN 1 to be 64:
DWS-3160-24PC:admin# config port_security vlan vlanid 1 max_learning_addr 64
Command: config port_security vlan vlanid 1 max_learning_addr 64
Success.
DWS-3160-24PC:admin#
54-4
delete port_security_entry
Description
This command is used to delete a port security entry.
Format
delete port_security_entry [vlan <vlan_name 32> | vlanid <vlanid 1-4094>] mac_address
<macaddr>
Parameters
vlan
- Specifies the VLAN by VLAN name.
<vlan_name 32>
- Enter the VLAN name here. This name can be up to 32 characters long.
vlanid
- Specifies the VLAN by VLAN ID.
<vlanid 1-4094>
- Enter the VLAN ID list here. This value must be between 1 and 4094.
mac_address
- Specifies the MAC address of the entry.
<macaddr>
- Enter the MAC address used here.
Restrictions
Only Administrators, Operators and Power-Users can issue this command.
Example
To delete the port security entry with a MAC address of 00-00-00-00-00-01 on VLAN 1:
DWS-3160-24PC:admin# delete port_security_entry vlanid 1 mac_address 00-00-00-
00-00-01
Command: delete port_security_entry vlanid 1 mac_address 00-00-00-00-00-01
Success.
DWS-3160-24PC:admin#
54-5
clear port_security_entry
Description
This command is used to clear the MAC entries learned by the port security function.