Showing results for 
Search instead for 
Did you mean: 

AAA if-authenticated

Dear community,

I try to get my head around the "if-authenticated" keyword at the end of the "aaa authorization exec" command.


My test config looks like this, and it does as expected:

username USER privilege 15 secret MYSECRET
aaa new-model
aaa authentication login default local

aaa authorization exec default local if-authenticated


aaa authorization exec default local 

When loggin in with SSH, I get direcly in enable mode, as it should be.

However when using the following authorisation command, I enter in user exec mode instead of enable/privileged exec mode and need to provide the enable password:

aaa authorization exec default if-authenticated

I was expecting to end up in enable mode as well, since I should be authenticated? (hence I was able to log in).


Can someone clarify this?



2 Replies 2

Kanwaljeet Singh
Cisco Employee
Cisco Employee


Please see the below thread for details:



Note: Please mark answers if they are helpful.

Cisco Employee
Cisco Employee

To allow users to have access to the functions they request as long as they have been authenticated, use the aaa authorization command with the if-authenticated method keyword. If you select this method, all requested functions are automatically granted to authenticated users.

The aaa authorization exec default group radius if-authenticated command configures the network access server to contact the RADIUS server to determine if users are permitted to start an EXEC shell when they log in. If an error occurs when the network access server contacts the RADIUS server, the fallback method is to permit the CLI to start, provided the user has been properly authenticated.

The RADIUS information returned may be used to specify an autocommand or a connection access list be applied to this connection.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Recognize Your Peers