< Home

web-file

Function

The web-file command specifies a web page file to be downloaded to clients.

The undo web-file command deletes the configured web page file information.

Format

web-file file-name

undo web-file [ file-name ]

Parameters

Parameter Description Value
file-name Specifies the name of a web page file to be downloaded to clients. The file name has an extension .web.7z or .web.zip and may contain a file path. The value is a string of 8 to 64 case-insensitive characters without spaces.

Views

Easy-Operation view, Easy-Operation group view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

When clients need to load a web page file, specify the web page file on the Commander.

Precautions

Information about the files to be downloaded can be set in the Easy-Operation view or Easy-Operation group view:
  • The file information set in the Easy-Operation view is the default file information. If no file information is set in the group database or client database, the group or client uses the default file information.
  • The files specified in the Easy-Operation group view can be downloaded by the clients that match the group.

Example

# Specify a default web page file for clients.

<HUAWEI> system-view
[HUAWEI] easy-operation
[HUAWEI-easyoperation] web-file easy/test.web.7z

# Specify a web page file in a MAC address-based group.

<HUAWEI> system-view
[HUAWEI] easy-operation
[HUAWEI-easyoperation] group custom mac-address test
[HUAWEI-easyoperation-group-custom-test] web-file test.web.7z
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic