
How to Login to NE8000 M Series Router?
The NetEngine 8000 series mainly includes the NetEngine 8000 M14, M8, M6, M4, M1A, M1C, M1D, and M1D-B, which are applicable to various networking requirements.
There are many different methods to log in to a Huawei NetEngine 8000 M Series Router. This blog describes three major methods of how to login to NetEngine 8000 M router through a console interface, Telnet, or SSH:
Method 1 Using the Console Interface
Procedure
1. Use a serial cable to connect the serial interface on the PC and the console interface on the NetEngine 8100 M, NetEngine 8000E M, NetEngine 8000 M.
For details about the console interface, see the NetEngine 8100 M, NetEngine 8000E M, NetEngine 8000 M Hardware Description.
NOTE: If a third-party USB-to-RJ45 serial cable is used, it is recommended that the cable length be less than or equal to 2 m to ensure signal integrity.
2. Start the terminal emulation program such as PuTTY.exe on the PC.
3. On the PuTTY configuration page (shown in Figure 2), set the connection type to Serial.
Figure 2 PuTTY configuration page
4. Select Serial under Connection from the left navigation tree on the PuTTY configuration page. On the page shown in Figure 3, set communication parameters of the port to be consistent with those on the device. (The following figure is for reference only. Use the default settings during configuration.)
Figure 3 PuTTY configuration page
5. Click Open. Then the system prompts you to set an authentication password, as shown in Figure 4. After the confirm the password, the system automatically saves it.

After the password is set, the command prompt (for example, <HUAWEI>) of the user view is displayed, which indicates that you have entered the user view and can perform configurations.
You can enter commands to configure the router or view its running status. Enter a question mark (?) when you need help.
Method 2 Using Telnet
Procedure
1. Enable the Telnet function.
a.Run the system-view command to enter the system view.
b.Run the telnet server enable command to enable the telnet function.
c.Configure the source interface or source address for the Telnet server.
d.Run the commit command to commit the configuration.
2. Set the maximum number of users that are allowed to log in to the NetEngine 8100 M, NetEngine 8000E M, NetEngine 8000 M at the same time.
a.Run the system-view command to enter the system view.
b.Run the user-interface maximum-vty number command to set the maximum number of login users that can use VTY user interfaces on the router.
c.Run the commit command to commit the configuration.
3.Configure a user authentication mode.
Two authentication modes are available: password authentication and AAA authentication. One of them can be selected as needed.
4. Run the user privilege level level command in the user interface view to control the user rights.
5. Run the commit command to commit the configuration.
Commissioning Results
After the preceding configurations are complete, perform the following operations to check whether the configurations are correct.
1. Run the Telnet client program on the PC, and enter the IP address of the interface to which you want to connect to.
2. Enter the user name and password in the login window. If the user is authenticated, a command line prompt such as <HUAWEI> is displayed. It indicates that you have entered the user view.
Method 3 Using SSH
Procedure
1. Configure the NetEngine 8100 M, NetEngine 8000E M, NetEngine 8000 M to generate a local key pair.
a.Run the system-view command to enter the system view.
b.Run the rsa local-key-pair create command to configure the NetEngine 8100 M, NetEngine 8000E M, NetEngine 8000 M to generate a local RSA key pair.
2. Configure a VTY user interface to support SSH.
a.Run the system-view command to enter the system view.
b.Run the user-interface { vty first-ui-number | last-ui-number } command to enter the VTY user interface view.
c.Run the authentication-mode aaa command to specify AAA authentication as the authentication mode.
d.Run the protocol inbound ssh command to configure SSH as the access protocol in the VTY user interface view.
3. Run the ssh user user-name command in the system view to create an SSH user.
4. Run the ssh user user-name authentication-type { password | rsa | dsa | ecc | password-dsa | password-rsa | password-ecc | sm2 | password-sm2 | all } command in the system view to configure an authentication mode for SSH users.
5. In password or RSA authentication mode, create a local user with the SSH user name in the AAA view.
6. Run the ssh user username service-type { sftp | stelnet | snetconf | all } command in the system view to configure a service type for the SSH user.
7. Run the stelnet server enable command in the system view to enable STelnet.
8. Specify the source interface or source address for the SSH server.
9. Run the commit command in the system view to commit the configuration.
Commissioning Results
Log in to the NetEngine 8100 M, NetEngine 8000E M, NetEngine 8000 M by using SSH. This section describes only the SSH login by using the PuTTY program.
In this example, the IP address of the NetEngine 8100 M, NetEngine 8000E M, NetEngine 8000 M is 192.168.1.1; the SSH user name is client001; the password is YsHsjx_202206.
1. As shown in the following figure, set the IP address of the NetEngine 8100 M, NetEngine 8000E M, NetEngine 8000 M to 192.168.1.1 and the login protocol to SSH.
Figure 2 Login by using the PuTTY program
2. Enter the user name client001 and the password YsHsjx_202206.
Figure 3 Login by using the PuTTY program
If you encounter any issues logging in enterprise router, such as forgetting the password or being unable to access the router's configuration interface, or any other technical questions or project inquiry, please email us at sales@xponshop.com.