< Home

Automatically 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 automatically 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 DHCP, and configure the Commander.
  • Ensure that the new client has no configuration file.
  • Ensure that upgrade files or files to be downloaded have been uploaded to the working directory of the file server.

Procedure

If the new client needs to be upgraded or download other files besides the configuration file, perform the following steps:

  1. Run system-view

    The system view is displayed.

  2. Run easy-operation

    The Easy-Operation view is displayed.

  3. Run 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> }*

    Replacement information is specified.

    The preceding configurations can be completed using the command once or multiple times. You may not specify the MAC address or ESN of the new client.

If the new device only needs to obtain the configuration file of the faulty device, you only need to deploy the new device in the same position as the faulty one and do not need to perform the preceding configuration. The new device can automatically download the configuration file.

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 >