beautypg.com

3 port-security convert, 4 port-security mac-address, 5 port-security maximum – Accton Technology ES4626 User Manual

Page 214

background image

214

Switch(Config)#interface Ethernet 1/1

Switch(Config-Ethernet1/1)#port security

6.5.1.3.3 port-security convert

Command: 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)# port-security convert

6.5.1.3.4 port-security mac-address

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

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

Function:

Adds a static secure MAC address; the “no 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 address can be added.

Example:

Adding MAC 00-03-0F-FE-2E-D3 to port1.

Switch(Config)#interface Ethernet 1/1

Switch(Config-Ethernet1/1)# port-security mac-address 00-03-0F-FE-2E-D3

6.5.1.3.5 port-security maximum

Command: port-security maximum <value>

no port-security maximum

Function:

Sets the maximum number of secure MAC addresses for a port; the “no

maximum

” command restores the maximum secure address number of 1.

Command mode:

Interface Mode

Parameter: < value>

is the up limit for static secure MAC address, the valid range is 1 to

128.

Default:

The default maximum port secure MAC address number is 1.

This manual is related to the following products: