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).
Example for Logging In to the Device Through a Console Port

Example for Logging In to the Device Through a Console Port

Networking Requirements

If a user cannot remotely log in to a device, the user will attempt to log in through the console port. By default, a user only needs to pass password authentication to log in to the device from the console user interface. To prevent unauthorized users from accessing the device, change the authentication mode of the console user interface to AAA authentication.

Figure 9-12  Networking diagram of user login through a console port

Configuration Roadmap

The configuration roadmap is as follows:

  1. Use the terminal simulation software to log in to the device through a console port.
  2. Configure the authentication mode of the console user interface.
NOTE:

You can use the built-in terminal emulation software (such as the HyperTerminal of Windows 2000) on the PC. If no built-in terminal emulation software is available, use the third-party terminal emulation software. For details, see the software user guide or online help.

Procedure

  1. Use the terminal simulation software to log in to the device through a console port.
    1. Insert the DB9 connector of the console cable delivered with the product to the 9-pin serial port on the PC, and insert the RJ45 connector to the console port of the device, as shown in Figure 9-13.

      NOTE:

      One end (USB) of the MicroUSB data line is connected to the USB port of a PC and the other end (MicroUSB) is connected to the console port of the AR510.

      Figure 9-13  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.

      NOTE:

      A PC may have multiple connection interfaces; therefore, the interface connected through the console cable is selected in this example. Generally, COM1 is selected.

      If the serial port communication parameters of the device are modified, modify the communication parameters on the PC accordingly (ensure that the parameter values are the same) and re-establish the connection.

    3. Press Enter until the system prompts you to enter the password. (The system will prompt you to enter the user name and password in AAA authentication. The following information is only for reference.)

      Login authentication
      
      
      Password:

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

  2. Configure the authentication mode of the console user interface.

    <Huawei> system-view
    <Huawei> sysname Router
    [Router] user-interface console 0
    [Router-ui-console0] authentication-mode aaa
    [Router-ui-console0] user privilege level 15
    [Router-ui-console0] quit
    [Router] aaa
    [Router-aaa] local-user admin1234 password irreversible-cipher Helloworld@6789
    [Router-aaa] local-user admin1234 privilege level 3
    [Router-aaa] local-user admin1234 service-type terminal

    After the preceding operations, you can re-log in to the device on the console user interface only by entering the user name admin1234 and password Helloworld@6789.

Configuration Files

#
sysname Router
#
aaa
 local-user admin1234 password irreversible-cipher %@%@HW=5%Mr;:2)/RX$FnU1HLO%-TBMp4wn%;~\#%iAut}_~O%0L%@%@
 local-user admin1234 privilege level 3
 local-user admin1234 service-type terminal
#
user-interface con 0
 authentication-mode aaa
#
return
Translation
Download
Updated: 2019-05-20

Document ID: EDOC1100034225

Views: 45072

Downloads: 100

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