xStack
®
DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual
456
DGS-3450:admin# config port_security ports 1:6 admin_state enable max_learning_addr 10
lock_address_mode Permanent
Command: config port_security ports 1:6 admin_state enable max_learning_addr 10
lock_address_mode Permanent
Success.
DGS-3450:admin#
delete port_security_entry vlan_name
Purpose
Used to delete a port security entry.
Syntax
delete port_security_entry vlan_name <vlan_name 32> port <port> mac_address
<macaddr>
Description
Used to delete a port security entry.
Parameters
<vlan_name>
- Specifies the VLAN by VLAN name.
mac_address
- Specifiies the MAC address of the entry.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To delete a port security entry:
DGS-3450:admin# delete port_security_entry vlan_name default port 1 mac_address 00-01-30-
10-2C-C7
Command: delete port_security_entry vlan_name default port 1 mac_address 00-01-30-10-2C-
C7
Success.
DGS-3450:admin#
clear port_security_entry port
Purpose
Used to clear the MAC entrieslearned by the port security function.
Syntax
clear port_security_entry port <portlist>
Description
Used to clear the MAC entries learned by the port security function.
Parameters
<portlist>
- Specifies a range of ports to be configured. The port-security entries learned on
the specified port will be cleared.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To clear port security entry by port(s):
DGS-3450:admin# clear port_security_entry port 1:6
Command: clear port_security_entry port 1:6
Success.
DGS-3450:admin#