set maclock static

Use this command to restrict MAC locking on a port to a maximum number of static (management defined) MAC addresses for end stations connected to that port.

Syntax

set maclock static port-string value

Parameters

port-string Specifies the port on which to limit MAC locking.
value Specifies the number of static MAC addresses to be allowed connections to the port. Valid values are 0 to 64.

Defaults

None.

Mode

All command modes.

Example

This example shows how to restrict MAC locking to 4 static addresses on ge.2.3:

System(rw)->set maclock static ge.2.3 4