Specifications

xStack DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
DGS-3400:4#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-3400:4#
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-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 1:6
mac_address 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-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 port <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. 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
<portlist> Specifies a port or port range to clear. The port list is specified by
listing the lowest switch number and the beginning port number on that switch,
separated by a colon. Then the highest switch number, and the highest port
number of the range (also separated by a colon) are specified. The beginning
and end of the port list range are separated by a dash. For example, 1:3
specifies switch number 1, port 3. 2:4 specifies switch number 2, port 4. 1:3-2:4
26