< Home

configuration-file

Function

The configuration-file command specifies the configuration file to be downloaded by clients.

The undo configuration-file command deletes the configured configuration file information.

Format

configuration-file file-name

undo configuration-file [ file-name ]

Parameters

Parameter Description Value
file-name Specifies the name of the configuration file (*.zip or *.cfg) to be loaded to the client. A file path can be specified. The value is a string of 5 to 48 case-insensitive characters without spaces.

Views

Easy-Operation view, Easy-Operation group view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

To deploy a zero touch client or reload a configuration file to clients, use this command to specify the configuration file.

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.

The names of the files to be downloaded cannot be the same as system configuration files. Otherwise, the upgrade fails.

Example

# Configure the default configuration file information.

<HUAWEI> system-view
[HUAWEI] easy-operation
[HUAWEI-easyoperation] configuration-file easy/vrpcfg.zip

# Configure the configuration file information for a MAC address-based group.

<HUAWEI> system-view
[HUAWEI] easy-operation
[HUAWEI-easyoperation] group custom mac-address test
[HUAWEI-easyoperation-group-custom-test] configuration-file vrpcfg.zip
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >