Got it

Example for Configuring Device Login Through the Web System

1057 0 0 0 0

Networking Requirements

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

Figure 1 Networking diagram for configuring device login through the web system Example for Configuring Device Login Through the Web System-2660731-1

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

    Figure 2 Web system login pageExample for Configuring Device Login Through the Web System-2660731-2

    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
 http secure-server enable
#
return

This article contains more resources

You need to log in to download or view. No account? Register

x
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.