H3C Technologies H3C S3100 Series Switches User Manual

Page 660

Advertising
background image

2-25

# Set the holdtime of NDP information to 200 seconds.

[Sysname] ndp timer aging 200

# Set the interval to send NDP packets to 70 seconds.

[Sysname] ndp timer hello 70

# Enable NTDP globally and on Ethernet 1/0/2 and Ethernet 1/0/3.

[Sysname] ntdp enable

[Sysname] interface Ethernet 1/0/2

[Sysname-Ethernet1/0/2] ntdp enable

[Sysname-Ethernet1/0/2] quit

[Sysname] interface Ethernet 1/0/3

[Sysname-Ethernet1/0/3] ntdp enable

[Sysname-Ethernet1/0/3] quit

# Set the topology collection range to 2 hops.

[Sysname] ntdp hop 2

# Set the member device forward delay for topology collection requests to 150 ms.

[Sysname] ntdp timer hop-delay 150

# Set the member port forward delay for topology collection requests to 15 ms.

[Sysname] ntdp timer port-delay 15

# Set the interval to collect topology information to 3 minutes.

[Sysname] ntdp timer 3

# Enable the cluster function.

[Sysname] cluster enable

# Enter cluster view.

[Sysname] cluster

[Sysname-cluster]

# Configure a private IP address pool for the cluster. The IP address pool contains six IP addresses,

starting from 172.16.0.1.

[Sysname-cluster] ip-pool 172.16.0.1 255.255.255.248

# Name and build the cluster.

[Sysname-cluster] build aaa

[aaa_0.Sysname-cluster]

# Add the attached two switches to the cluster.

[aaa_0.Sysname-cluster] add-member 1 mac-address 000f-e20f-0011

[aaa_0.Sysname-cluster] add-member 17 mac-address 000f-e20f-0012

# Set the holdtime of member device information to 100 seconds.

[aaa_0.Sysname-cluster] holdtime 100

# Set the interval to send handshake packets to 10 seconds.

[aaa_0.Sysname-cluster] timer 10

# Configure the shared FTP server, TFTP server, Logging host and SNMP host for the cluster.

[aaa_0.Sysname-cluster] ftp-server 63.172.55.1

Advertising