1-23
[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
z
After completing the above configuration, you can execute the
cluster switch-to
{
member-number
|
mac-address
H-H-H
} command on the management device to switch to
member device view to maintain and manage a member device. After that, you can execute the
cluster switch-to
administrator
command to return to management device view.
z
In addition, you can execute the
reboot member
{
member-number
|
mac-address H-H-H
}
[
eraseflash
] command on the management device to reboot a member device. For detailed
information about these operations, refer to the preceding description in this chapter.
z
After the above configuration, you can receive logs and SNMP trap messages of all cluster
members on the NMS.