Login and basic configuration of the router

Source: Internet
Author: User

Login method: Console port/miniusb port local login, Telnet, SSH and Web remote login.

Console Port Login Needless to say, through the serial port connection to the computer, miniUSB port login, need to install MINIUSB port driver on the user terminal, and MINIUSB and console port simultaneously access, only MINIUSB port is available.

Configure the login authentication function of the console port: The default login is no password, directly into the Huawei Configuration Interface (VRP), to set up login authentication, experiment as follows:


Physical topology diagram as above, the PC is connected directly to the con port of the router.

Because there is no physical device, using ENSP, the direct CLI is the analog con port login:



The con port is configured to enter the Con interface, which belongs to the user interface,

System-view Entering system view

User-interface con 0 access to con 0 interface configuration view

There are two ways to set the password Authentication login mode of con port

Authentication-mode Password

Set Authentication password cipher XXXXX



With Authentication-mode password, the system automatically asks for a password and a confirmation password.

Using the Set authentication password cipher, you can use clear text, or you can use ciphertext, which is 56 bits.


Use undo Authentication-mode To remove password Authentication mode


Some information on the introduction, using the Authentication-mode password set password, you do not need to use set anthentication password cipher xxx, and set anthentication Password cipher xxx If the cipher xxx parameter is not taken, the plaintext password will be entered interactively (the password will not be displayed on the terminal screen). However, in the ENSP test, the Set anthentication password command has an error, the command must be fully entered, and the password is displayed in the terminal.

Login Authentication There is also a way of AAA, is to enter the user name and password at the same time


By admin3, the added user default service-type is terminal.

First Telnet remote login

You only need to connect the user terminal that serves as the Telnet client to the router LAN port. AR150~AR200 all LAN ports at the factory are VLAN1, the default IP for the corresponding VLANIF1 interface is 192.168.1.1, and the Telnet service is already used on the device, Default user admin, password [email protected].

Physical topology:


To access routers in ENSP via a real PC, you need to use the cloud for bridging,


In the cloud to add port and port mapping, the specific principle is unclear, only know this setting, the real host can ping with the router in the simulator.

Ar201-1 in the emulator, the initial state is not VLAN1 the default IP is 192.168.1.1, using:

Interface VLANIF1
IP address 192.168.1.2 255.255.255.0 Set its IP to 192.168.1.20,client4 to 192.168.1.10, the IP of the machine is 192.168.1.100, ping each other to ping.

Telnet through the command window of the host:


To configure:


First enter the AAA view, add a local user, and Service-type is Telnet, and then open the Telnet service, because the default is already open, so there is an error prompt, no tube, and then set VTY0 4 authentication for AAA, then on the host with Telnet login:


To view logged-on users by using the DIS users command:


Displays the login from 192.168.1.100 using the Tel type, the user is telnet1.

Add a user local-user admin1 password cipher huawei1 privilege Level 5

Local-user admin1 Service-type Termal

Use admin1 for Telnet login,


Login failed with Telnet because the admin1 configuration is termal.

To configure login using SSH:


To configure a SSH2 login link using securecrt:


After login, display the User:


As you can see, vty 3 login using SSH

Web Login method

Check the internet, it seems that ENSP not support HTTP, can not be done, first

Login and basic configuration of the router

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.