aaa authentication enable
To set one or more authentication methods for accessing higher privilege levels, use the aaa authentication enable Global Configuration mode command.
To restore the default authentication method, use the no form of this command.
Syntax
aaa authentication enable {default | LISTNAME} method1 [method2 ...]
no aaa authentication enable {default | LISTNAME}
Parameters
default—Uses the default authentication method list when accessing higher privilege levels.
LISTNAME —Name of the authentication method list activated when users access higher privilege levels. (Length: 1 to 32 characters)
method1 [method2 ...]—A list of methods that the authentication algorithm tries, in the given sequence.
Default Configuration
The enable password command defines the default authentication login method. This command functions the same as the aaa authentication enable default enable command.
On a console, the enable password is used if a password exists. If no password is set, the authentication still succeeds. This command functions the same as entering the aaa authentication enable default enable none command.
Command Mode
Global Configuration mode
User Guidelines
A user who logs on with a lower privilege level must pass these authentication methods to access a higher level.
The additional authentication methods are used only if the previous method returns an error, not if it fails. Specify none as the final method in the command line to ensure that the authentication succeeds, even if all methods return an error.
Select one or more methods from the following list:
Keyword |
Description |
enable |
Uses the enable password for authentication. |
none |
Uses no authentication. |
radius |
Uses a list of RADIUS servers for authentication. |
tacacs+ |
Uses a list of TACACS servers for authentication. |
Create a list by entering the aaa authentication enable LISTNAME command where LISTNAME is any character string used to name this list. The method argument identifies the list of methods that the authentication algorithm tries in the given sequence.
All aaa authentication enable default requests sent by the switch to a RADIUS or a TACACS+ server include the username $enabx$., where x is the requested privilege level.
The no aaa authentication enable LISTNAME command deletes the list name if it has not been referenced.
Example
The following example sets the enable password for authentication for accessing higher privilege levels:
switchxxxxxx(config)# aaa authentication enable enable-list radius none
switchxxxxxx(config)# line console
switchxxxxxx(config-line)# enable authentication enable-list