aaa authentication enable
The aaa authentication enable Global Configuration mode command sets one or more authentication methods for accessing higher privilege levels. To restore the default authentication method, use the no form of this command.
Syntax
aaa authentication enable [authorization] {default | list-name} method [method2...]}
no aaa authentication enable {default | list-name}
Parameters
-
authorization—Specifies that authentication and authorization are applied to the given list. If the keyword is not configured, then only authentication is applied to the given list.
-
default—Uses the listed authentication methods that follow this argument as the default method list, when accessing higher privilege levels.
-
list-name —Specifies a name for the list of authentication methods activated when a user accesses higher privilege levels. (Length: 1–12 characters)
-
method [method2...]—Specifies a list of methods that the authentication algorithm tries, in the given sequence. 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. |
|
line |
Uses the line password for authentication. |
|
none |
Uses no authentication. |
|
radius |
Uses the list of all RADIUS servers for authentication. |
Default Configuration
No Authentication lists exist by default.
Command Mode
Global Configuration mode
User Guidelines
Create a list by entering the aaa authentication enable list-name method1 [method2...] command where list-name 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 requests sent by the device to a RADIUS server include the username $enabx$, where x is the requested privilege level.
The additional methods of authentication 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.
no aaa authentication enable list-name deletes 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
Feedback