The following takes the H3C switch as an example to introduce the three authentication mode configurations of the telnet service.
None authentication mode configuration steps:
[H3C]telnet server enable / /Open Telnet service
[H3C]user-interface vty 0 4 //Allow remote users 0-4, a total of 5 accounts to log in at the same time
[H3C-line-vty0-4]authentication-mode none //Authentication mode If it is none, authentication is not required
[H3C-line-vty0-4]user-role level-3 //Set login user permissions
Password authentication mode configuration steps:
[H3C]telnet server enable //Enable Telnet service
[H3C]user-interface vty 0 4 //Allow remote users 0-4, a total of 5 accounts to log in at the same time
[H3C-line-vty0-4] authentication-mode password //Authentication mode is password, password authentication
[H3C-line-vty0-4]set authentication password simple 123 //Set plain text password 123
[H3C-line-vty0-4]user- role level-3 //Set login user permissions
Scheme authentication mode configuration steps:
[H3C]telnet server enable //Enable Telnet service
[H3C]user- interface vty 0 4 //Allow a total of 5 remote users 0-4 to log in at the same time
[H3C-line-vty0-4]authentication-mode scheme //Authentication mode is scheme, account password
[H3C-line -vty0-4]user-role level-3 //Set login user permissions
[H3C-line-vty0-4]qu
[H3C]local-user h4c //Add local user h4c
[ H3C-luser-manage-h4c] password simple h3c //Set the plain text password h3c
[H3C-luser-manage-h4c] service-type telnet //Set the account service type to telnet
H3C Comware
The current main versions are V3, V5, and V7. The commands of different versions have changed, so pay attention to the distinction.
1. Virtual terminal view
V3: user-interface vty <0-4>
V5: user-interface vty <0-15>
V7: user-interface vty <0 -63>
To configure the authentication method, you must first enter the VTY view. Here 0 4 means that a total of 5 users 0-4 are allowed to log in at the same time. In V5, up to 16 users are allowed to log in at the same time, and in V7, up to 64 users are allowed to log in at the same time.
2. Set the login user privilege level (in virtual terminal view)
V3/V5: user privilege level <0-3>
V7: user-role level-<0-15> ;
Set the authority level of the authenticated user. Different permissions can perform different operations. In V3/V5, the authority level is 0-3, with a total of four levels, and the highest is 3; in V7, a total of 16 authority levels are set, 0-15. , the highest is 15; generally for the account set by the administrator, set it to the highest.
The above is the detailed content of What are the three authentication mode configurations of H3C switch telnet service?. For more information, please follow other related articles on the PHP Chinese website!