H3C Technologies H3C MSR 50 User Manual

Page 87

Advertising
background image

[DeviceB] interface ethernet 1/3

[DeviceB-Ethernet1/3] ndp enable

[DeviceB-Ethernet1/3] quit

# Configure the period for the receiving device to keep NDP packets as 200 seconds.

[DeviceB] ndp timer aging 200

# Configure the interval to send NDP packets as 70 seconds.

[DeviceB] ndp timer hello 70

# Enable NTDP globally and for ports Ethernet 1/2 and Ethernet 1/3.

[DeviceB] ntdp enable

[DeviceB] interface ethernet 1/2

[DeviceB-Ethernet1/2] ntdp enable

[DeviceB-Ethernet1/2] quit

[DeviceB] interface ethernet 1/3

[DeviceB-Ethernet1/3] ntdp enable

[DeviceB-Ethernet1/3] quit

# Configure the maximum hops for topology collection as 2.

[DeviceB] ntdp hop 2

# Configure the delay to forward topology-collection request packets on the first port as 150 ms.

[DeviceB] ntdp timer hop-delay 150

# Configure the delay to forward topology-collection request packets on the first port as 15 ms.

[DeviceB] ntdp timer port-delay 15

# Configure the interval to collect topology information as 3 minutes.

[DeviceB] ntdp timer 3

# Configure the management VLAN of the cluster as VLAN 10.

[DeviceB] vlan 10

[DeviceB-vlan10] quit

[DeviceB] management-vlan 10

# Configure ports Ethernet 1/2 and Ethernet 1/3 as Trunk ports and allow packets from the

management VLAN to pass.

[DeviceB] interface ethernet 1/2

[DeviceB-Ethernet1/2] port link-type trunk

[DeviceB-Ethernet1/2] port trunk permit vlan 10

[DeviceB-Ethernet1/2] quit

[DeviceB] interface ethernet 1/3

[DeviceB-Ethernet1/3] port link-type trunk

[DeviceB-Ethernet1/3] port trunk permit vlan 10

[DeviceB-Ethernet1/3] quit

# Enable the cluster function.

[DeviceB] cluster enable

# Configure a private IP address range for the member devices, which is from 172.16.0.1 to

172.16.0.7.

[DeviceB] cluster

[DeviceB-cluster] ip-pool 172.16.0.1 255.255.255.248

# Configure the current device as the management device, and establish a cluster named abc.

[DeviceB-cluster] build abc

Restore topology from local flash file,for there is no base topology.

74

Advertising