< Home

Adding Configured Devices to the Management Domain of the Commander

Context

After you add configured devices to the management domain of the Commander on a network running EasyDeploy, the Commander automatically learns basic information about the configured devices, including each device's MAC address, ESN, IP address, device type, device model, and system software.

You can also implement a batch upgrade, batch configuration, and faulty device replacement on these devices.

Pre-configuration Tasks

Before adding configured devices to the management domain of the Commander, complete the following tasks:

  • Ensure that the configured devices operate properly.

  • Ensure that the configured devices have reachable routes to the Commander.

  • Ensure that the configured devices have reachable routes to a DHCP server and configure the DHCP server correctly if the configured devices need to obtain information from the DHCP server. The DHCP server configuration in this scenario is the same as the DHCP server configuration in the zero touch device deployment scenario. For details, see Configuring DHCP.

    To enhance security for communication between the Commander and clients and prevent a bogus Commander from controlling clients, run the easy-operation shared-key command in the system views of the Commander and clients to configure the same shared key.

Procedure

  1. Specify the Commander IP addresses on the clients using either of the following methods:

    • Use commands.
      1. Run system-view

        The system view is displayed.

      2. Run easy-operation commander ip-address ip-address [ udp-port udp-port ]

        The Commander IP address is configured.

    • Obtain the Commander IP address from the DHCP server.

      Enable the DHCP client on the configured devices so that they can obtain IP addresses from the DHCP server. For details about the configuration, see Enabling the DHCP Client Function in "DHCP Configuration" in the S2720, S5700, and S6700 V200R019C00 Configuration Guide - IP Service.

      The clients can obtain the Commander IP address from the DHCP server only after they are configured to obtain their IP addresses from the DHCP server. The DHCP server sends the Commander IP address to the clients using the Option 148 field in DHCP response messages. Therefore, you must configure the Option 148 field on the DHCP server.

    • If the configuration files of the clients contain the required configuration, you do not need to configure related functions on the clients again.
    • If both methods are available for a client to obtain a Commander IP address, the Commander IP address configured using the command takes effect. If the configured Commander IP address is deleted, the client uses the Commander IP address obtained from the DHCP server. If the client obtains multiple Commander IP addresses from the DHCP server, the client uses the first Commander IP address that it can correctly parse.

  2. Perform the following steps on the Commander:

    • Manually add configured devices to the management domain of the Commander.

      1. Run system-view

        The system view is displayed.

      2. Run easy-operation

        The Easy-Operation view is displayed.

      3. Run client [ client-id ] { mac-address mac-address | esn esn }

        A matching rule is defined for the client. The client can be uniquely identified by a MAC address or an ESN.

    • Enable the client auto-join function.

      1. Run system-view

        The system view is displayed.

      2. Run easy-operation

        The Easy-Operation view is displayed.

      3. Run client auto-join enable

        Clients are configured to automatically join the management domain of the Commander.

        After this function is enabled, the Commander automatically learns basic information about clients.

        By default, clients do not automatically join the management domain of the Commander.

Verifying the Configuration

  • Run the display easy-operation client [ client-id | mac-address mac-address | esn esn | verbose ] command to check the client database on the Commander.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >