not shown here.
3. Configure the management switch Switch B
# Enable NDP globally and for ports Ethernet 1/0/2 and Ethernet 1/0/3.
<SwitchB> system-view
[SwitchB] ndp enable
[SwitchB] interface Ethernet 1/0/2
[SwitchB-Ethernet1/0/2] ndp enable
[SwitchB-Ethernet1/0/2] quit
[SwitchB] interface Ethernet 1/0/3
[SwitchB-Ethernet1/0/3] ndp enable
[SwitchB-Ethernet1/0/3] quit
# Configure the period for the receiving device to keep NDP packets as 200 seconds.
[SwitchB] ndp timer aging 200
# Configure the interval to send NDP packets as 70 seconds.
[SwitchB] ndp timer hello 70
# Enable NTDP globally and for ports Ethernet 1/0/2 and Ethernet 1/0/3.
[SwitchB] ntdp enable
[SwitchB] interface Ethernet 1/0/2
[SwitchB-Ethernet1/0/2] ntdp enable
[SwitchB-Ethernet1/0/2] quit
[SwitchB] interface Ethernet 1/0/3
[SwitchB-Ethernet1/0/3] ntdp enable
[SwitchB-Ethernet1/0/3] quit
# Configure the hop count to collect topology as 2.
[SwitchB] ntdp hop 2
# Configure the delay to forward topology-collection request packets on the first port as 150 ms.
[SwitchB] ntdp timer hop-delay 150
# Configure the delay to forward topology-collection request packets on the first port as 15 ms.
[SwitchB] ntdp timer port-delay 15
# Configure the interval to collect topology information as 3 minutes.
[SwitchB] ntdp timer 3
# Configure the management VLAN of the cluster as VLAN 10.
[SwitchB] vlan 10
[SwitchB-vlan10] quit
[SwitchB] management-vlan 10
# Configure ports Ethernet 1/0/2 and Ethernet 1/0/3 as Trunk ports and allow packets from the
management VLAN to pass.
[SwitchB] interface Ethernet 1/0/2
[SwitchB-Ethernet1/0/2] port link-type trunk
[SwitchB-Ethernet1/0/2] port trunk permit vlan 10
[SwitchB-Ethernet1/0/2] quit
[SwitchB] interface Ethernet 1/0/3
[SwitchB-Ethernet1/0/3] port link-type trunk
[SwitchB-Ethernet1/0/3] port trunk permit vlan 10
[SwitchB-Ethernet1/0/3] quit
124