NetEngine AR600, AR6100, AR6200, and AR6300 V300R019 CLI-based Configuration Guide - Basic Configuration

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 AR1610-X6, AR6200 series, and AR6300 series).
  • Install the terminal emulation software on the PC.

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

    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 PuTTY as an example.)
    1. Click Session to establish a connection, as shown in Figure 9-2.

      Figure 9-2 Establishing a connection

    2. Click Serial to 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. Enter the password. The default username and password are available in AR Router Default Usernames and Passwords (Enterprise Network or Carrier). If you have not obtained the access permission of the document, see Help on the website to find out how to obtain it.

    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. 
    • 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.