beautypg.com

Accton Technology ES4710BD User Manual

Page 191

background image

190

E

ES4710BD 10 Slots L2/L3/L4 Chassis Switch

Function: Locks the port. When a port is locked, the MAC address learning function for the port
will be disabled: the “no switchport port-security lock” command restores the MAC address
learning function for the port.

Command mode: Interface Mode

Default: Ports are not locked by default.

Usage Guide: The port locking command can only be executed after MAC address binding function

has been enabled. When the port locking command has been executed, the dynamic MAC learning

function for the port will be disabled.

Example: Locking port1.

Switch(Config)#interface Ethernet 1/1

Switch(Config-Ethernet1/1)#switchport port-security lock

8.5.1.2.2.4 switchport port-security timeout

Command: switchport port-security timeout

no switchport port-security timeout

Function: Sets the timer for port locking; the “no switchport port-security timeout” command

restores the default setting.

Parameters: < value> is the timeout value, the valid range is 0 to 300 seconds..

Command mode: Interface Mode

Default: Port locking timer is not enabled by default.

Usage Guide: The port locking timer function is a dynamic MAC address locking function. MAC

address locking and conversion of dynamic MAC entries to secure address entries will be performed

on locking timer timeout. The MAC address binding function must be enabled prior to running this

command.

Example: Setting port1’s locking timer to 30 seconds.

Switch(Config)#interface Ethernet 1/1

Switch(Config-Ethernet1/1)# switchport port-security timeout 30

8.5.1.2.2.5 switchport port-security mac-address

Command: switchport port-security mac-address <mac-address>

no switchport port-security mac-address <mac-address>

Function: Adds a static secure MAC address; the “no switchport port-security mac-address”

command deletes a static secure MAC address.

Command mode: Interface Mode

Parameters: <mac-address> stands for the MAC address to be added/deleted.

Usage Guide: The MAC address binding function must be enabled before static secure MAC