D-Link DGS-3600 Switch User Manual


 
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
546
Example usage:
To config port security setting:
DGS-3627:admin# config port_security ports 1:6 admin_state enable max_learning_addr 10
lock_address_mode Permanent
Command: config port_security ports 1:6 admin_state enable max_learning_addr 10
lock_address_mode Permanent
Success.
DGS-3627:admin#
delete port_security_entry vlan_name
Purpose Used to delete a port security entry.
Syntax
delete port_security_entry vlan_name <vlan_name 32> port <port> mac_address
<macaddr>
Description Used to delete a port security entry.
Parameters
<vlan_name> - Specifies the VLAN by VLAN name.
port- Specifies a range of ports to be configured
mac_address - Specifiies the MAC address of the entry.
Restrictions Only Administrator and Operator-level users can issue this command.
Example usage:
To delete a default route from the routing table:
DGS-3627:admin#delete port_security_entry vlan_name default port 1 mac_address 00-01-30-
10-2C-C7
Command: delete port_security_entry vlan_name default port 1 mac_address 00-01-30-10-2C-
C7
DGS-3627:admin#
clear port_security_entry
Purpose Used to clear the MAC entrieslearned by the port security function.
Syntax
clear port_security_entry port <portlist>
Description Used to clear the MAC entries learned by the port security function.
Parameters
<portlist> - Specifies a range of ports to be configured. The port-security entries learned on
the specified port will be cleared.
Restrictions Only Administrator and Operator-level users can issue this command.
Example usage:
To clear port security entry by port(s):