No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


CLI-based Configuration Guide - Basic Configuration

AR500, AR510, AR531, AR550, AR1500, and AR2500 V200R010

This document provides the basic concepts, configuration procedures, and configuration examples in different application scenarios of the Basic configuration supported by the device.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Logging In to a Device Through the Console Port

Logging In to a Device Through the Console Port

You can connect a PC to the console port of a device and then log in to the device.


After completing console user interface configurations on a device, you can log in to the device through the console port. If the console user interface uses the default attribute settings and password authentication, perform the following steps to log in to the device.


  1. Connect the DB9 female connector of the console cable to the COM port on the PC, and connect the RJ45 connector to the console port on the device, as shown in Figure 9-1.


    For an AR510 series router, connect the USB plug of the MicroUSB data cable to a USB port of the PC, and connect the MicroUSB plug of the cable to the console port of the router.

    For an AR510 series (except AR515CGW-L) router, to obtain the MicroUSB driver, visit and select CP210x_VCP_Windows to download. The MicroUSB driver supports only Windows XP, Windows Vista, and Windows 7 operating systems.

    For an AR503GW-LM7, AR503GW-Lo, AR503HGW-L, AR503GW-LcM7, and AR503HGW-Lc router,the RS232 interface can be used as a console interface and connected to a console for router configuration.

    Figure 9-1  Connecting to the device through the console port

  2. Start the terminal emulation software on the PC. Create a connection, select the connected port, and set communication parameters. (This section uses the third-party software SecureCRT as an example.)
    1. Click to establish a connection, as shown in Figure 9-2.

      Figure 9-2  Establishing a connection

    2. Set the connected port and communication parameters, as shown in Figure 9-3.

      Select the connected port based on actual situations. For example, you can view port information in Device Manager in the Windows operating system, and select the connected port.

      Communication parameters of the terminal emulation software must be consistent with the default attribute settings of the console user interface on the device, which are 9600 bit/s baud rate, 8 data bits, 1 stop bit, no parity check, and no flow control.


      By default, no flow control mode is configured on the device. Because RTS/CTS is selected in the software by default, you need to deselect RTS/CTS; otherwise, you cannot enter commands.

      If you modify the serial port communication parameters on the device, you must make the same modifications on the PC and then create a connection again.

      Figure 9-3  Setting the connected port and communication parameters

  3. Click Connect. The following information is displayed, prompting you to enter a password. (In AAA authentication, the system prompts you to enter the user name and password. The following information is only for reference.)

    Login authentication

    You can run commands to configure the device. Enter a question mark (?) whenever you need help.

Verifying the Configuration

  • Run the display users [ all ] command to check user login information on the user interface.
  • Run the display user-interface console 0 command to check user interface information.
  • Run the display local-user command to check the local user attributes.
  • Run the display access-user command to check information about online users.
Updated: 2019-05-20

Document ID: EDOC1100034225

Views: 44874

Downloads: 100

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Previous Next