The client replace command adds or modifies client replacement information.
The undo client replace command deletes client replacement information.
By default, no client replacement information exists.
client client-id replace { [ mac-address mac-address | esn esn ] | system-software file-name [ version ] | patch file-name | web-file file-name | license file-name | { custom-file file-name } &<1-3> } *
undo client client-id replace [ mac-address [ mac-address ] | esn [ esn ] | system-software [ file-name [ version ] ] | patch [ file-name ] | web-file [ file-name ] | license [ file-name ] | custom-file [ file-name ] ]
Parameter | Description | Value |
---|---|---|
client-id | Indicates the ID of a faulty client. | The value is an integer. It depends on the maximum number of clients supported by the Commander. For details, seeMaximum Number of Managed Clients on the Commander. |
mac-address mac-address | Indicates the MAC address of the new client. | The value is in the H-H-H format, where each H contains four hexadecimal digits. |
esn esn | Indicates the ESN of the new client. | The value is a string of 10 to 32 case-insensitive characters without spaces. |
system-software file-name | Specifies the name of the system software (*.cc) to be loaded to the new client. | The value is a string of 4 to 48 case-insensitive characters without spaces. |
version | Specifies the version of a system software package, for example, V200R019C10. If the specified software version is the same as the software version running on the client, a software upgrade will not be performed for the client. |
The value is a string of 11 to 32 case-insensitive characters without spaces. |
patch file-name | Specifies the name of the patch file (*.pat) to be loaded to the new client. | The value is a string of 5 to 48 case-insensitive characters without spaces. |
web-file file-name | Specifies the name of the web page file (*.web.7z or *.web.zip) to be loaded to the new client. | The value is a string of 8 to 64 case-insensitive characters without spaces. |
license file-name | Specifies the name of the license file (*.dat) to be loaded to the new client. NOTE:
The license file is not supported in the Easy-Operation view. The file does not take effect even if you configure it. |
The value is a string of 5 to 64 case-insensitive characters without spaces. |
custom-file file-name | Specifies the name of the user-defined file to be loaded to the new client. 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
If a client becomes faulty due to a hardware failure, run this command to add replacement information for the faulty client. After a new client is installed on the network to replace the faulty client, the new client can quickly obtain the configuration file of the faulty client, minimizing impact on services. You can also specify other files that can be loaded on the new client.
Precautions
# Replace client 3 with a client that has a MAC address 0000-c102-0702. The new client only needs to download the configuration file of client 3.
<HUAWEI> system-view [HUAWEI] easy-operation [HUAWEI-easyoperation] client 3 replace mac-address 0000-c102-0702
# Replace client 3 with a client that has a MAC address 0000-c102-0702. The new client needs to download the configuration file, system software, and user-defined file of client 3.
<HUAWEI> system-view [HUAWEI] easy-operation [HUAWEI-easyoperation] client 3 replace mac-address 0000-c102-0702 [HUAWEI-easyoperation] client 3 replace system-software test.cc V200R019C10 [HUAWEI-easyoperation] client 3 replace custom-file header.txt custom-file aaa.bat