xStack® DES-3528/DES-3552 Series Layer 2 Managed Stackable Fast Ethernet Switch CLI Reference Guide
36
Command: config port_security ports 1-5 admin_state enable max_learning_addr 5
lock_address_mode deleteonreset
Success.
DES-3528:admin#
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 <vlan_name 32> | vlanid <vlanid 1-4094>]
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
−
Enter the corresponding VLAN name of the port to delete.
vlanid
– Specifies the VLAN ID used.
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:
DES-3528:admin# delete port_security_entry vlan default mac_address 00-01-30-10-2C-
C7
Command: delete port_security_entry vlan default mac_address 00-01-30-10-2C-C7
Success.
DES-3528:admin#
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> | all] {[vlan <vlan_name 32> | vlanid
<vidlist>]}}
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
ports
−
Specifies a port or port range to clear.
vlan –
Specifies the VLAN name used.
vlanid
– Specifies the VLAN ID used.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To clear a port security entry by port:
DES-3528:admin#clear port_security_entry ports all
Command: clear port_security_entry ports all
Success.
DES-3528:admin#
Summary of Contents for DES-3528 - xStack Switch - Stackable
Page 1: ......