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 Configuring Device Login Through the Web System

Example for Configuring Device Login Through the Web System

Networking Requirements

As shown in Figure 10-5, there are reachable routes between the device and PC. It is required that the device be managed and maintained through the web system.

Figure 10-5  Networking diagram for configuring device login through the web system

Configuration Roadmap

The configuration roadmap is as follows:

  1. Log in to the device through the console port.
  2. Configure a management IP address for the device.
  3. Create a web system account.
  4. Enable the web system function.
  5. Log in to the web system.

Procedure

  1. Log in to the device through the console port. For details, see Logging In to a Device for the First Time Through a Console Port.
  2. Configure a management IP address for the device.

    <Huawei> system-view
    [Huawei] interface gigabitethernet 0/0/0
    [Huawei-GigabitEthernet0/0/0] ip address 10.1.1.1 24
    [Huawei-GigabitEthernet0/0/0] quit
    

  3. Configure a web user.

    [Huawei] aaa
    [Huawei-aaa] local-user admin password irreversible-cipher Helloworld@6789
    [Huawei-aaa] local-user admin privilege level 15
    [Huawei-aaa] local-user admin service-type http
    [Huawei-aaa] quit
    NOTE:

    Before configuring a web user, you can run the display this command in the AAA view to check user names of local users. Ensure that the user name of the configured web user does not conflict with that of an existing local user; otherwise, the new web user may overwrite the existing local user.

  4. Configure the web system.

    # Enable the web system function.

    [Huawei] http server enable
      This operation will take several minutes, please wait.........................................................
    Info: Succeeded in starting the HTTP server
    [Huawei] quit

  5. Log in to the web system.

    Open the web browser on the PC, enter https://10.1.1.1 in the address box, and press Enter. The web system login page is displayed, as shown in Figure 10-6.

    Figure 10-6  Web system login page

    Enter the web user name and password, and click Login or press Enter. The web system homepage is displayed.

  6. Verify the configuration.

    # After the configuration is complete, you can successfully log in to the device through the web system.

    # Run the display http server command on the device to check the SSL policy name and HTTPS server status.

    <Huawei> display http server
      HTTP server status    : Enabled        (default: disable)
      HTTP server port      : 80             (default: 80)
      HTTP timeout interval : 10             (default: 10 minutes)
      Current online users  : 0                   
      Maximum users allowed : 5         
      HTTPS server status   : Enabled        (default: disable)
      HTTPS server port     : 443            (default: 443)
      HTTPS SSL Policy      : 

Configuration Files

Configuration file of the device

#
 pki-realm default
#
aaa
 local-user admin password irreversible-cipher %^%#R!d3>ji-.u1+N2gSK>3&2P1AM6jfU:"x/3g[5U,lvqP+sf=70+%^E7,,SF7+%^%#
 local-user admin privilege level 15
 local-user admin service-type http
#
interface GigabitEthernet0/0/0
 ip address 10.1.1.1 255.255.255.0
#
 http server enable
#
return
Translation
Download
Updated: 2019-05-20

Document ID: EDOC1100034225

Views: 44692

Downloads: 100

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