< Home

Manually Replacing Faulty Devices Using the Commander

Context

The faulty device replacement function can only be implemented on a network that already has EasyDeploy configured. In addition, automatic configuration file backup must be enabled on the Commander using the backup configuration interval interval [ duplicate ] command. If the new client fails to obtain backup configuration file information after you start the zero touch device deployment process, it attempts to obtain configuration file information from the client database. If the new client still fails to obtain configuration file information, it uses default configuration file information. The default configuration of the new client may differ from the configuration of the faulty client.

Pre-configuration Tasks

Before manually replacing faulty devices using the Commander, complete the following tasks:
  • Configure a routing protocol to ensure that the DHCP server, file server, Commander, and new client (has obtained an IP address) have reachable routes to each other.
  • Configure a file server, configure the DHCP service, and configure the Commander.
  • Ensure that the new client has no configuration file.
  • Collect each zero touch device's MAC address or ESN by viewing the barcode label on the device.
  • Ensure that upgrade files or files to be downloaded have been uploaded to the working directory of the file server.

Procedure

Configure client replacement information.

  1. Run system-view

    The system view is displayed.

  2. Run easy-operation

    The Easy-Operation view is displayed.

  3. Run one of the following commands as required:

    • If the new client only needs to restore the configuration of the faulty client, run the client client-id replace { mac-address mac-address | esn esn } command to map the client-id to the MAC address or ESN of the new client.

    • If the new client needs to be upgraded or download other files, run the 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> }* command to specify replacement information. The preceding configurations can be completed using the command once or multiple times. You must specify the faulty client ID and the MAC address or ESN of the new client in the command.

Configure an activation policy for downloaded files.

  1. Run system-view

    The system view is displayed.

  2. Run easy-operation

    The Easy-Operation view is displayed.

  3. Run activate-file { reload | { in time | delay delay-time } }*

    An activation policy is configured for downloaded files.

Replace the faulty device.

Remove the faulty device and connect the new device to the network.

Verifying the Configuration

  • Run the display easy-operation client replace [ verbose ] or display easy-operation client client-id replace command to check client replacement information on the Commander.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >