Failed to telnet the switch when AAA local authentication is used

78 0 0 0

Today I'd like to share with you how to deal with telnet problems.


Issue Description

After AAA local authentication is used, a user cannot log in to the device through Telnet.


common causes

  1. The user does not have an account on the device.

  2. The user name or password entered by the user is incorrect.

  3. No authentication mode is configured for the user interface.

Procedure

  1. Run the display this command in the AAA view to check whether the user has an account on the device.


<HUAWEI> system-view

[HUAWEI] aaa

[HUAWEI-aaa] display this

#

aaa                                                                             

 local-user user1 password irreversible-cipher %^%#iv-e(@1]P90{2*&tcll)JN*KQ9c`"Ob^#"Al|p7EHK>qVz(7On,d&6iweF%^%#  //The user name is user1, and displayed on the screen in cipher text. The authentication password entered by the user is displayed in plain text.


If the user does not have an account on the device, run the local-user user-name password irreversible-cipher password command in the AAA view to create a local user.

If the user has an account on the device, ensure that the user name and password entered by the user are the same as those configured on the device.

The password is displayed in cipher text on the screen. If you forget the password, run the local-user user-name password irreversible-cipher password command in the AAA view to reconfigure the password.


2. Run the display this command in the user interface view to check whether the authentication mode is set to aaa.

If not, run the authentication-mode aaa command in the user interface view, for example, in the VTY user interface view.


<HUAWEI> system-view

[HUAWEI] user-interface maximum-vty 15

[HUAWEI] user-interface vty 0 14

[HUAWEI-ui-vty0-14] display this

user-interface maximum-vty 15

user-interface vty 0 14

 authentication-mode aaa    

 protocol inbound telnet                                                          

#


  • x
  • convention:

Comment

Reply
You need to log in to reply to the post Login | Register

Notice Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " Privacy."
If the attachment button is not available, update the Adobe Flash Player to the latest version!
Login and enjoy all the member benefits

Login and enjoy all the member benefits

Login