The following procedure resets the login configuration mode to the default value using the
no aaa authentication login command.
-
In privileged EXEC mode, use the
configure terminal command to enter global configuration mode.
device# configure terminal
Entering configuration mode terminal
-
Enter the
no aaa authentication login command to remove the configured authentication sequence and to restore the default value (Local only).
device(config)# no aaa authentication login
-
Verify the configuration with the
do show running-config aaa command.
device(config)# do show running-config aaa
aaa authentication login local
-
Log in to the device using an account with TACACS+-only credentials. The login should fail with an "access denied" error.
-
Log in to the device using an account with local-only credentials. The login should succeed.