Tutorial steps:
1. Configure the Telnet user through the console Port:
<H3C> sys
[H3C] local-user test // create a user named stt
[H3C-luser-stt] password simple stt // password is set to stt, keyword simple (plaintext display password), cipher (ciphertext ).
[H3C-luser-stt] service-type telnet // sets the type of telnet service that the user uses.
[H3C-luser-stt] level 0 // set the user's priority to 0 (0 is access level, 1 is monitoring level, 2 is system level, 3 is management level, the smaller the value, the lower the priority)
2. Configure the super password:
[H3C] super password level 3 simple H3C // used to switch the user from the current level to level3. The password is H3C and the password is displayed in plaintext.
3. Configure the login welcome information:
[H3C] header login
4. Configure the default local authentication for Telnet users:
Enter VTY0 ~ 4. The system supports simultaneous access by five VTY users. The vty port is a logical terminal line used for Telnet or SSH access to the device.
[H3C] user-interface vty 0 4
The vro can use local or third-party servers to authenticate users. Here, the local authentication and authorization method is used (the mode is scheme)
[H3C-ui-vty0-4] authentication-mode scheme
5. Go to the interface view and configure the Ethernet port and pc nic address:
Go to the port view and configure the vro IP Address
[H3C] interface GigabitEthernet 0/1
[H3C-GigabitEthernet 0/1] ip add 192.168.0.1 255.255.255.0
At the same time, set an IP address of the same CIDR block as the router interface for the PC.
6. Open the Telnet service:
[H3C] telnet server enable
7. Use telnet to log on:
Use the Ethernet port GigabitEthernet 0/1 that connects the PC and the vro through a crossover line. In the PC command line window, enter the IP address of the Ethernet port of the telnet router and press Enter.
8. Change the user logon level:
[H3C] super 3
9. Save the configuration and log on again.
Save first and then reboot.
This article is from the "tea-colored sunshine" blog