< Home

(Optional) Configuring Network Topology Collection

Context

Network topology collection is provided by the Commander using the Neighbor Discovery Protocol (NDP) and Network Topology Discovery Protocol (NTDP). When this function is enabled on the Commander to deploy zero touch devices, users do not need to manually collect such information as device's MAC address or ESN. After zero touch devices are powered on and started, the Commander automatically collects device information and assigns client IDs to devices to bind device information with devices. The Commander can collect network topology information and specify information of files to be downloaded based on the collected network topology information.

Procedure

  1. Enable NDP.
    1. Run system-view

      The system view is displayed.

    2. Run ndp enable

      NDP is enabled globally.

      By default, NDP is enabled globally.

    3. (Optional) Run ndp enable interface { interface-type interface-number [ to interface-type interface-number ] }&<1-10>

      NDP is enabled on interfaces.

      By default, NDP is enabled on an interface.

    4. (Optional) Run ndp timer aging aging-time

      An aging time is configured for NDP packets.

      By default, the aging time of the NDP packets on the receiving switch is 180 seconds. The aging time of the NDP packets must be larger than the interval for sending NDP packets.

    5. (Optional) Run ndp timer hello interval

      The interval for sending NDP packets is configured.

      By default, the interval for sending NDP packets is 60 seconds. The interval for sending NDP packets must be smaller than the aging time of the NDP packets.

    6. (Optional) Run ndp trunk-member enable

      Trunk member interface-based NDP is enabled.

      By default, trunk member interface-based NDP is disabled.

      If links are established between devices through trunk interfaces, the system discovers neighbors and displays NTDP topology information based on the trunk interfaces. To obtain link information about trunk member interfaces, run this command to enable trunk member interface-based NDP for the system to discover neighbors and query topology information about the trunk member interfaces from the NMS.

  2. Enable NTDP.
    1. Run ntdp enable

      NTDP is enabled globally.

      By default, NTDP is enabled globally.

    2. (Optional) Enable NTDP on an interface.

      1. Run interface range { interface-type interface-number1 [ to interface-type interface-number2 ] } &<1-10>

        The interface group view is displayed.

      2. Run ntdp enable

        NTDP is enabled on an interface.

        By default, NTDP is enabled on an interface.

      3. Run quit

        Return to the system view.

    3. (Optional) Run ntdp hop max-hop-value

      The maximum number of hops for collecting topology information using NTDP is configured.

      By default, the maximum number of hops for collecting topology information using NTDP is 8. When the maximum number of hops is set to a large value, large memory space is occupied on the topology collection device.

    4. (Optional) Run ntdp timer hop-delay hop-delay-time

      The delay for the first interface to forward NTDP topology request packets is configured.

      By default, the delay for the first interface to forward NTDP topology request packets is 200 milliseconds.

    5. (Optional) Run ntdp timer port-delay port-delay-time

      The delay for the other interfaces to forward NTDP topology request packets is configured.

      By default, the delay for other interfaces to forward NTDP topology request packets is 20 milliseconds.

    6. Run ntdp timer interval

      The interval for collecting topology information is configured.

      By default, the interval for collecting topology information using NTDP is 0, which indicates that topology information is not periodically collected.

      The Commander collects network topology information at an interval of 5 minutes; therefore, you are advised to set the interval for collecting topology information using NTDP to less than 5 minutes.

    7. (Optional) Run ntdp explore in the user view

      Topology information is manually collected.

      You can run this command to collect network topology information at any time.

  3. Configure a cluster management VLAN.
    1. Run system-view

      The system view is displayed.

    2. Run cluster enable

      The cluster function is enabled.

      By default, the cluster function is disabled.

    3. Run cluster

      The cluster view is displayed.

    4. Run mngvlanid vlanid

      A cluster management VLAN is configured.

      By default, the cluster management VLAN is VLAN 1. However, VLAN 1 is not recommended as the cluster management VLAN. You are advised to change the cluster management VLAN to a different VLAN.

      The cluster management VLAN must be the same as the VLAN to which the Commander's interfaces connected to clients.

  4. Configure Commander topology collection.
    1. Run system-view

      The system view is displayed.

    2. Run easy-operation

      The Easy-Operation view is displayed.

    3. Run topology enable

      The Commander is configured to collect network topology information.

      By default, the Commander cannot collect network topology information.

    4. (Optional) Run topology save

      The currently collected network topology information is saved.

    5. (Optional) Run client auto-join enable

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

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

      After a client automatically joins the management domain of the Commander, the Commander automatically learns client information and assigns the minimum ID not in use to the client. If the auto-join function is not enabled, the Commander does not assign IDs to clients, and you must run the client [ client-id ] { mac-address mac-address | esn esn } command to assign IDs to clients.

Example

Run the display easy-operation topology command to view network topology information collected by the Commander after clients are enabled to automatically join the management domain of the Commander.

<HUAWEI> display easy-operation topology
<-->:normal device         <??>:lost device
Total topology node number: 3
------------------------------------------------------------------------------
[HUAWEI: 4CB1-6C8F-0447](Commander)
|-(GE0/0/8)<-->(GE0/0/38)[HUAWEI: 0200-2326-1007](Client 1)
| |-(GE0/0/16)<-->(GE0/0/16)[HUAWEI: 0200-0000-0001](Client 2)

The command output shows that IDs are assigned to clients within the management domain of the Commander. If the auto-join function is not enabled, client IDs are not displayed.

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