DES-3000 Series Layer 2 Switch CLI Reference Manual
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#
enable port_security trap_log
Purpose
Used to enable the trap log function for port security.
Syntax
enable port_security trap_log
Description
This command is used to send trap messages to the Switch’s log
when a new MAC address violates the pre-defined port security
configuration. This information will include the MAC address of the
undefined device along with the port being infringed upon.
Parameters None.
Restrictions Only
administrator-level users can issue this command.
Example usage:
To enable the port security log trap function:
DES-3026:4#
enable port_security trap_log
Command: enable port_security trap_log
Success.
DES-3026:4#
140