A SERVICE OF

logo

xStack
®
DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
28
DGS–3426:5#config port_security ports 1:1–1:5 admin_state enable
max_learning_addr 5 lock_address_mode DeleteOnReset
Command: config port_security ports 1:1–1:5 admin_state enable max_learning_addr
5 lock_address_mode DeleteOnReset
Success.
DGS–3426:5#
delete port_security_entry
Purpose Used to delete a port security entry by MAC address, port number and VLAN ID.
Syntax
delete port_security_entry_vlan_name <vlan_name 32> port <port> mac_address
<macaddr>
Description This command is used to delete a single, previously learned port security entry by port,
VLAN name, and MAC address. This command will only take effect if the lock address
mode set using the config port_security ports command is set as permanent or delete
on reset.
Parameters vlan name <vlan_name 32> – Enter the corresponding VLAN name of the port to delete.
port <port> – Enter the port number which has learned the previously entered MAC
address. The port is specified by listing the lowest switch number and the beginning port
number on that switch, separated by a colon. For example, 1:3 specifies switch number
1, port 3. 2:4 specifies switch number 2, port 4.
mac_address <macaddr> – Enter the corresponding MAC address, previously learned
by the port, to delete.
Restrictions Only Administrator and Operator-level users can issue this command.
Example usage:
To delete a port security entry:
DGS–3426:5#delete port_security_entry vlan_name default port 1:6 mac_addr
e
ss
00–01–30–10–2C–C7
Command: delete port_security_entry vlan_name default port 1:6 mac_address 00–
01–30–10–2C–C7
Success.
DGS–3426:5#