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
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
8.5.1.2.2.4switchport port-security timeout
Command: switchport
Function: Sets the timer for port locking; the “no switchport
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
8.5.1.2.2.5switchport port-security mac-address
Command: switchport
Function: Adds a static secure MAC address; the “no switchport
Command mode: Interface Mode
Parameters:
Usage Guide: The MAC address binding function must be enabled before static secure MAC
190