set maclock static

Usage

The MAC address that is cleared will no longer be able to communicate on the port unless the first arrival limit has been set to a value greater than 0 and this limit has not yet been met.

For example, if user B’s MAC is removed from the static MAC address list and the first arrival limit has been set to 0, then user B will not be able to communicate on the port. If user A’s MAC is removed from the static MAC address list and the first arrival limit has been set to 10, but only has 7 entries, user A will become the 8th entry and allowed to communicate on the port.

Example

This example shows how to remove a MAC from the list of static MACs allowed to communicate on port ge.3.2:

C3(rw)->clear maclock 0e-03-ef-d8-44-55 ge.3.2

set maclock static

Use this command to set the maximum number of static MAC addresses allowed per port. Static MACs are administratively defined.

Syntax

set maclock static port-string value

Parameters

port‐string

Specifies the port on which to set the maximum number of static MACs

 

allowed. For a detailed description of possible port‐string values, refer to

 

Port String Syntax Used in the CLI” on page 7‐1.

 

 

value

Specifies the maximum number of static MAC addresses allowed per

 

port. Valid values are 0 to 20.

 

 

Defaults

None.

Mode

Switch command, read‐write.

Example

This example shows how to set the maximum number of allowable static MACs to 2 on ge.3.1:

C3(rw)->set maclock static ge.3.1 2

clear maclock static

Use this command to reset the number of static MAC addresses allowed per port to the default value of 20.

Syntax

clear maclock static port-string

SecureStack C3 Configuration Guide 26-63

Page 809
Image 809
Enterasys Networks 9034313-07 manual Set maclock static, Clear maclock static