aaa authentication port-access auth-precedence

Syntax

aaa authentication port-access auth-precedence [dot1x mac-auth | mac-auth dot1x]

no aaa authentication port-access auth-precedence [dot1x mac-auth | mac-auth dot1x]
no aaa authentication port-access auth-precedence

Description

Configures the per port authentication precedence using the space separator.

By default, 802.1X authentication (dot1x) takes a higher precedence than MAC authentication (mac-auth).

The no form of the command resets the port access authentication precedence to the default, 802.1X authentication followed by MAC authentication.

Command context

config-if

Parameters

dot1x mac-auth

Specifies that the port access authentication precedence is 802.1X authentication followed by MAC authentication.

mac-auth dot1x

Specifies that the port access authentication precedence is MAC authentication followed by 802.1X authentication.

Authority

Administrators or local user group members with execution rights for this command.

Examples

Configuring MAC authentication precedence on a port:

switch(config-if)# aaa authentication port-access auth-precedence mac-auth dot1x

Resetting the authentication precedence to the default value:

switch(config-if)# no aaa authentication port-access auth-precedence mac-auth dot1x