set macauthentication port

Use this command to enable or disable one or more ports for MAC authentication.

Syntax

set macauthentication port {enable | disable} port-string

Parameters

enable | disable Enables or disables MAC authentication.
port-string Specifies port(s) on which to enable or disable MAC authentication. For a detailed description of possible port-string values, refer to the S-, K-, and 7100 Series Configuration Guide.

Defaults

None.

Mode

All command modes.

Usage

Enabling port(s) for MAC authentication requires globally enabling MAC authentication on the device as described in set macauthentication, and then enabling it on a port-by-port basis. By default, MAC authentication is globally disabled and disabled on all ports.

Example

This example shows how to enable MAC authentication on ge.2.1 though 5:

System(rw)->set macauthentication port enable ge.2.1-5