Accton Technology ES4626 Switch User Manual


 
131
switchport port-security timeout
<value>
no switchport port-security timeout
Enable port locking timer function; the
no switchport port-security timeout
restores the default setting.
switchport port-security mac-address
<mac-address>
no switchport port-security
mac-address <mac-address>
Add static secure MAC address; the
no switchport port-security
mac-address” command deletes static
secure MAC address.
Admin Mode
clear port-security dynamic [address
<mac-addr> | interface <interface-id>]
Clear dynamic MAC addresses learned
by the specified port.
3. MAC address binding property configuration
Command Explanation
Interface Mode
switchport port-security maximum
<value>
no switchport port-security maximum
<value>
Set the maximum number of secure
MAC addresses for a port; the “no
switchport port-security
maximum” command restores the
default value.
port security actionshutdown
no port security violation
Set the violation mode for the port;
the “no switchport port-security
violation” command restores the
default setting.
4.5.1.2.2 MAC Address Binding Configuration
Commands
4.5.1.2.2.1 port security
Command: port security
no port security
Function: Enable MAC address binding function for the port and lock the port. When a
port is locked, the MAC address learning function for the port will be disabled: the “no
switchport port-security” command disables the MAC address binding function for the
port and restores the MAC address learning function for the port.
Command mode: Interface Mode
Default: MAC address binding is not enabled by default.
Usage Guide: The MAC address binding function, Spanning Tree and Port Aggregation
functions are mutually exclusive. Therefore, if MAC binding function for a port is to be