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

Reminder

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

upgrade

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 for the First Time Through a Console Port

Logging In to a Device for the First Time Through a Console Port

You can log in to a device that is being powered on for the first time through a console port from a PC. After that, you can perform basic configuration on the device and manage the device.

Pre-configuration Tasks

Before logging in to the device through the console port, complete the following tasks:

  • Power on the device properly.
  • Prepare the console cable (delivered with products other than the AR500&AR510 series)
  • Install the terminal emulation software on the PC.

    NOTE:

    You can use the self-contained terminal emulation software of the operating system (such as HyperTerminal in Windows 2000) on your PC. If the operating system does not provide terminal emulation software, use third-party terminal emulation software. For details, see the software user guide or online help.

Default Settings

Table 8-1  Default settings for the console port
Parameter Default Setting
Baud rate 9600 bit/s
Flow control None
Parity None
Stop bits 1
Data bits 8

Procedure

  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 8-1.

    NOTE:

    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 http://support.huawei.com/enterprise 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 8-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 8-2.

      Figure 8-2  Establishing a connection

    2. Set the connected port and communication parameters, as shown in Figure 8-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.

      NOTE:

      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 8-3  Setting the connected port and communication parameters

  3. Click Connect. The following information is displayed. Enter the password. The default user name is admin, and the default password is Admin@huawei. (The following information is only for reference.)

    Login authentication                                                            
                                                                                    
    Username:admin                                                                
    Password:
    <Huawei>
    Info: The entered password is the same as the default. You are advised to change
     it to ensure security. 
    NOTE:
    • The password entered in interactive mode is not displayed on the screen.
    • You are advised to change the password after login and update the password regularly to ensure security.
    • If the configuration file contains a plain-text password or the entered password is an encryption password with low security, the system displays the message "There are security risks in the configuration file. You are advised to save the configuration immediately. If you choose to save, the current configuration file will be unavailable after version downgrade. Are you sure to save now?[y/n]:" when you log in to the device.
      • If you need to save the current configuration, enter y and press Enter.
      • If you do not need to save the current configuration, enter n and press Enter. It is recommended that you enter y.
    • When you connect to a new or unconfigured device through a console port, the following information is displayed:

      Auto-Config is working. Before configuring the device, stop Auto-Config. If you perform configurations when Auto-Config is running, the DHCP, routing, DNS, and VTY configurations will be lost. Do you want to stop Auto-Config? [y/n]:

      • To continue Auto-Config, enter n and press Enter.
      • To stop Auto-Config, enter y and press Enter.

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

Translation
Download
Updated: 2019-05-20

Document ID: EDOC1100034225

Views: 44870

Downloads: 100

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