Resetting the login authentication mode

The following procedure resets the login configuration mode to the default value using the no aaa authentication login command.

  1. In privileged EXEC mode, use the configure terminal command to enter global configuration mode.
    device# configure terminal
    Entering configuration mode terminal 
  2. 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
  3. Verify the configuration with the do show running-config aaa command.
    device(config)# do show running-config aaa
    aaa authentication login local
  4. Log in to the device using an account with TACACS+-only credentials. The login should fail with an "access denied" error.
  5. Log in to the device using an account with local-only credentials. The login should succeed.