< Home

http server load

Function

The http server load command loads a web page file.

The undo http server load command cancels loading of a specified web page file.

By default, the web page file in the system software has been loaded to the devices.

Format

http server load { file-name | default }

undo http server load

Parameters

Parameter Description Settings
file-name

Specifies the name of the web page file to load.

The web page file must be stored in the root directory of the storage device.

The value is a string of 4 to 64 characters without spaces. The file name is in the *.web.7z format.
default

Specifies the web page file in the current system software that is to be loaded.

Views

System view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

If you need to manage and maintain devices on the graphical user interface (GUI), configure the Web network management function. When you need to update web page file when using the Web network management function, run this command to load web page file.

Prerequisites

Before loading the web page file using the http server load command, ensure that the web page file has been stored to the root directory of the storage device on the device; otherwise, file loading will fail.

Precautions

  • If the system software is upgraded from V200R006 or an earlier version to V200R007 or a later version, but the target software version conflicts with the configuration file for next startup, the device will cancel the configuration of loading the web page file in the original system software after the upgrade, and loads the web page file integrated in the new system software by default.

  • The web page file contains the SSL certificate, which is used to authenticate the HTTP server during login to ensure information security. When a user attempts to log in to the device through HTTP, the HTTPS login page is pushed to the user. After the user is authenticated, the system returns to the HTTP page. The SSL certificate is also used in the HTTPS login mode to ensure security of user information and data exchanged between the client and server. You can load a new digital certificate to the device.

  • If the loaded web page file does not exist, the HTTP service cannot be enabled when the device restarts.

  • To disable a loaded web page file, you must load another file.

Example

# Load the web page file web_1.web.7z.

<HUAWEI> system-view
[HUAWEI] http server load web_1.web.7z
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >