[Sysname] ntdp timer hop-delay 150
# Set the delay for a member device port to forward topology collection requests to 15 ms.
[Sysname] ntdp timer port-delay 15
# Set the interval between collecting 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-e201-0011
[aaa_0.Sysname-cluster] add-member 17 mac-address 000f-e201-0012
# Set the holdtime of member device information to 100 seconds.
[aaa_0.Sysname-cluster] holdtime 100
# Set the interval between sending handshake packets to 10 seconds.
[aaa_0.Sysname-cluster] timer 10
# Configure VLAN-interface 2 as the network management interface.
[aaa_0.Sysname-cluster] nm-interface Vlan-interface 2
# 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
[aaa_0.Sysname-cluster] tftp-server 63.172.55.1
[aaa_0.Sysname-cluster] logging-host 69.172.55.4
[aaa_0.Sysname-cluster] snmp-host 69.172.55.4
3) Perform the following operations on the member devices (taking one member as an example)
After adding the devices attached to the management device to the cluster, perform the following
operations on a member device.
# Connect the member device to the remote shared FTP server of the cluster.
<aaa_1.Sysname> ftp cluster
# Download the file named
aaa.txt
from the shared TFTP server of the cluster to the member device.
<aaa_1.Sysname> tftp cluster get aaa.txt
# Upload the file named
bbb.txt
from the member device to the shared TFTP server of the cluster.
<aaa_1.Sysname> tftp cluster put bbb.txt
48-26