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
The user does not have an account on the device.
The user name or password entered by the user is incorrect.
No authentication mode is configured for the user interface.
Procedure
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
#