The custom-file command specifies a user-defined file to be downloaded by clients.
The undo custom-file command deletes the configured user-defined file information.
Parameter | Description | Value |
---|---|---|
file-name | Specifies the name of a user-defined file to be loaded to the client. A file path can be specified. A maximum of three user-defined files can be specified. The file names are separated by spaces. |
The value is a string of 1 to 64 case-insensitive characters without spaces. |
Usage Scenario
When clients need to download user-defined files, such as batch processing file and login header file, use this command.
Precautions
The names of the files to be downloaded cannot be the same as system user-defined files. Otherwise, the upgrade fails.
# Configure the default user-defined file information.
<HUAWEI> system-view [HUAWEI] easy-operation [HUAWEI-easyoperation] custom-file easy/mydoc.bat
# Configure the user-defined 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] custom-file mydoc.bat custom-file header.txt