mac-authentication enable (Flexible Authentication)

Enables MAC authentication globally or on a specific interface.
Syntax
mac-authentication enable [ all | ethernet device/slot/port ]
no mac-authentication enable [ all | ethernet device/slot/port ]
Command Default

MAC authentication is not enabled.

Parameters
all
Enables MAC authentication on all interfaces.
ethernet device/slot/port
Enables MAC authentication on a specific interface.
Modes

Authentication configuration mode

Usage Guidelines

The mac-authentication enable command without any options initializes MAC authentication feature globally. The mac-authentication enable command with the all or ethernet options, enables MAC authentication on all or a specific interface respectively. After initializing MAC authentication feature using the mac-authentication enable command, you must enable MAC authentication on all or a specific interface.

The no form of the command disables MAC authentication.

Examples

The following example globally enables MAC authentication.

device(config)# authentication
device(config-authen)# mac-authentcation enable 
device(config-authen)# mac-authentication enable all

The following example enables MAC authentication on an interface.

device(config)# authentication
device(config-authen)# mac-authentcation enable 
device(config-authen)# mac-authentication enable ethernet 1/1/11
History
Release version Command history
08.0.20 This command was introduced.