![D-Link xStack DGS-3612G series Cli Manual Download Page 34](http://html1.mh-extra.com/html/d-link/xstack-dgs-3612g-series/xstack-dgs-3612g-series_cli-manual_3519854034.webp)
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
31
DGS-3627:5#config port_security ports 1-5 admin_state enable
max_learning_addr 5 lock_address_mode DeleteOnReset
Command: config port_security ports 1-5 admin_state enable
max_learning_addr 5 lock_address_mode DeleteOnReset
Success.
DGS-3627:5#
delete port_security_entry vlan_name
Purpose
Used to delete a port security entry by MAC address, port number
and VLAN name.
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 to delete.
mac_address <macaddr>
– Enter the corresponding MAC address,
previously learned by the port, which the user wishes to delete.
port <port>
– Enter the port number which has learned the
previously entered MAC address.
Restrictions
Only Administrator and Operator-level users can issue this
command.
Example usage:
To delete a port security entry:
DGS-3627:5#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-3627:5#