Go to the user interface View
[SwitchA] user-interface vty 0 4
Set the authentication method to password authentication.
[SwitchA-ui-vty0-4] authentication-mode password
Set the password for login verification to the plaintext password "huawei"
[SwitchA-ui-vty0-4] set authentication password simple huawei
Set the login user level to the highest level 3 (level 1 by default)
[SwitchA-ui-vty0-4] user privilege level 3
[TELNET local user name and password verification configuration]
You must enter username and password to log on to the vswitch.
Go to the user interface View
[SwitchA] user-interface vty 0 4
Configure local or remote user name and password authentication
[SwitchA-ui-vty0-4] authentication-mode scheme
Configure the local TELNET user. The user name is "huawei", the password is "huawei", and the permission is set to the highest level 3 (level 1 by default)
[SwitchA] local-user huawei
[SwitchA-user-huawei] password simple huawei
[SwitchA-user-huawei] service-type telnet level 3
(2) You can remotely log on to the vswitch by entering the password on the con port.
Go to the user interface View
[Quidway] user-interface aux 0
Set the authentication method to password authentication.
[Quidway-ui-aux0] authentication-mode password
Set the password for login verification to the plaintext password "huawei"
[Quidway-ui-aux0] set authentication password simple huawei
Set the login user level to the highest level 3 (level 1 by default)
[Quidway-ui-aux0] user privilege level 3
[CON port local user name and password verification configuration]
You must enter username and password to log on to the vswitch.
[Quidway] user-interface aux 0
Configure local or remote user name and password authentication
[Quidway-ui-aux0] authentication-mode scheme
Configure the local TELNET user. The user name is "huawei", the password is "huawei", and the permission is set to the highest level 3 (level 1 by default)
[SwitchA] local-user huawei
[SwitchA-user-huawei] password simple huawei
[SwitchA-user-huawei] service-type telnet level 3 (0-3, 3 is the highest level)
From maguanghua00 BLOG