set maclock enable

Use this command to enable MAC locking on one or more ports.

Syntax

set maclock enable [port-string]

Parameters

port-string (Optional) Enables MAC locking on specific port(s). For a detailed description of possible port-string values, refer to the S-, K-, and 7100 Series Configuration Guide.

Defaults

If port-string is not specified, MAC locking will be enabled on all ports.

Mode

All command modes.

Usage

MAC locking is disabled by default at device startup. Configuring one or more ports for MAC locking requires globally enabling it on the device and then enabling it on the desired ports as described in set maclock.

When enabled and configured for a specific MAC address and port string, this locks a port so that only designated end station addresses are allowed to participate in frame relay.

Example

This example shows how to enable MAC locking on ge.2.3:

System(rw)->set maclock enable ge.2.3