Logging In to a Router Through a Console Port

You can connect a user terminal to the console port on a router and then log in to the router.

Context

  • Communication parameters of the user terminal must be consistent with the physical attributes of the console user interface on the router.
  • If an authentication mode has been configured for the console user interface, a user can log in to the router only after authentication succeeds, which enhances network security.

Procedure

  1. Start the PuTTY.exe program. In the PuTTY configuration page (shown in Figure 1), set the connection type to Serial.

    Figure 1 PuTTY configuration page

  2. Choose Serial in the Category navigation tree on the left of the PuTTY configuration page. In the port connection configuration page (shown in Figure 2), set the communication parameters of the port to the default values of the device. (The following figure is for reference only. Use the default settings during configuration.)

    Figure 2 Port connection configuration page

  3. Click Open. Then the system prompts you to set an authentication password, as shown in Figure 3. After the confirm the password, the system automatically saves it.

    Figure 3 Login page

    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 device or view its running status. Enter a question mark (?) when you need help.

    The password must meet the following requirements:

    • The password is entered in man-machine interaction mode. The system does not display the entered password.

    • A password is a string of 8 to 16 case-sensitive characters and must contain at least two types of the following characters: uppercase letters, lowercase letters, digits, and special characters.

    • Special characters exclude question marks (?) and spaces. However, spaces are allowed in the password if the password is enclosed in quotation marks.
      • Double quotation marks cannot contain double quotation marks if spaces are used in a password.
      • Double quotation marks can contain double quotation marks if no space is used in a password.

      For example, the password "Aa123"45"" is valid, but the password "Aa 123"45"" is invalid.

    The configured password is displayed in ciphertext in the configuration file.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >