D-Link 3312SR Reference Manual - Page 34
config port_security ports, show port_security
![]() |
UPC - 790069263873
View all D-Link 3312SR manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 34 highlights
DGS-3312SR Layer 3 Gigabit Switch config port_security ports Restrictions lock_address_mode [Permanent | DeleteOnTimeout | DeleteOnReset] - Delete FDB dynamic entries for the ports on timeout of the FDB (see Forwarding Database Commands). Specify DeleteOnReset to delete all FDB entries, including static entries upon system reset or rebooting. Entering the Permanent parameter will permanently set the MAC address in the switch's memory until deleted by the user. Only administrator-level users can issue this command. Example usage: To configure the port security: DGS-3312SR: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-3312SR:4# show port_security Purpose Used to display the current port security configuration. Syntax show port_security {ports } Description This command is used to display port security information of the switch ports. The information displayed includes port security admin state, maximum number of learning address and lock mode. Parameters − Specifies a range of ports to be viewed. 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 specifies all of the ports between switch 1, port 3 and switch 2, port 4 − in numerical order. Restrictions None. Example usage: To display the port security configuration: 28
![](/manual_guide/products/dlink-3312sr-reference-manual-4c3c9f4/34.png)