ES4710BD 10 Slots L2/L3/L4 Chassis Switch

8.5.1.2.2MAC Address Binding Configuration Commands

8.5.1.2.2.1switchport port-security

Command: switchport port-security no switchport port-security

Function: Enables the MAC address binding function for the port: the “no switchport port-security”command disables the MAC address binding 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 the MAC binding function for a port is to be enabled, the Spanning Tree and Port Aggregation functions must be disabled, and the port enabling MAC address binding must not be a Trunk port.

Example: Enabling the MAC address binding function for port 1 Switch(Config)#interface Ethernet 1/1 Switch(Config-Ethernet1/1)#switchport port-security

8.5.1.2.2.2switchport port-security convert

Command: switchport port-security convert

Function: Converts dynamic secure MAC addresses learned by the port to static secure MAC addresses, and disables the MAC address learning function for the port.

Command mode: Interface Mode

Usage Guide: The port dynamic MAC convert command can only be executed after the secure port is locked. After this command has been executed, dynamic secure MAC addresses learned by the port will be converted to static secure MAC addresses. The command does not reserve configuration.

Example: Converting MAC addresses in port 1 to static secure MAC addresses. Switch(Config)#interface Ethernet 1/1 Switch(Config-Ethernet1/1)#switchport port-security convert

8.5.1.2.2.3switchport port-security lock

Command: switchport port-security lock no switchport port-security lock

189

Page 190
Image 190
Accton Technology ES4710BD manual Switchport port-security convert, Switchport port-security lock