DES-30XX Layer 2 Switch CLI Reference Manual
125
delete port_security_entry_vlan_name
Purpose
Used to delete an entry from the Switch’s port security settings.
Syntax
delete
port_security_entry vlan_name <vlan_name 32>
mac_address <macaddr> port <port>
Description
This command is used to remove an entry from the port security
entries learned by the Switch and entered into the forwarding
database.
Parameters
vlan_name <vlan_name 32>
- Enter the corresponding VLAN of the
entry to delete.
mac_address <macaddr>
- Enter the corresponding MAC address of
the entry to delete.
port <port>
- Enter the corresponding port of the entry to delete.
Restrictions Only
administrator-level users can issue this command.
Example usage:
To delete an entry from the port security list:
DES-3026:4#delete port_security_entry vlan_name default
mac_address 00-0C-6E-73-2B-C9 port 1
Command: delete port_security_entry vlan_name default
mac_address 00-0C-6E-73-2B-C9 port 1
Success
DES-3026: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:
DES-3026:4#clear port_security_entry port 6
Command: clear port_security_entry port 6
Success.
DES-3026:4#