xStack DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
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.
Parameters
vlan name <vlan_name 32> - Enter the corresponding vlan name of the port
which the user wishes to delete.
port <port> - Enter the port number which has learned the previously entered
MAC address.
mac_address <macaddr> - Enter the corresponding MAC address, previously
learned by the port, to delete.
Restrictions
Only administrator-level users can issue this command.
Example usage:
To delete a port security entry:
DGS-3400:4#delete port_security_entry vlan_name default port 6
mac_address 00-01-30-10-2C-C7
Command: delete port_security_entry vlan_name default port 6
mac_address 00-01-30-10-2C-C7
Success.
DGS-3400:4#
clear port_security_entry
Purpose
Used to clear MAC address entries learned from a specified port for the port
security function.
Syntax clear port_security_entry ports <portlist>
Description
This command is used to clear MAC address entries which were learned by the
Switch by a specified port. This command only relates to the port security
function.
Parameters
<portlist> − Specifies a port or port range to clear.
Restrictions
Only administrator-level users can issue this command.
Example usage:
To clear a port security entry by port:
DGS-3400:4# clear port_security_entry port 6
Command: clear port_security_entry port 6
Success.
DGS-3400:4#
25