aaa authentication port-access (role)

Syntax

aaa authentication port-access [critical-role|preauth-role|reject-role|auth-role] <ROLE-NAME>

no aaa authentication port-access [critical-role|preauth-role|reject-role|auth-role]

Description

Configures the role to assign to the clients depending on the client authentication state.

The no form of the command disassociates the roles that you assign to clients based on the authentication state.

Command context

config-if

Parameters

critical-role

Specifies the role that is applied when the RADIUS server is unreachable for authentication.

preauth-role

Specifies the role that is applied when authentication is still in progress.

reject-role

Specifies the role that is applied when authentication has failed.

auth-role

Specifies the role that is applied to authenticated clients when a specific role is not assigned in the RADIUS server.

<ROLE-NAME>

Specifies the role name.

Authority

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

Examples

Configuring critical role for clients:

switch(config-if)# aaa authentication port-access critical-role role1