25-10
Enabling the Cluster Function
To do… Use the command… Remarks
Enter system view system-view —
Enable the cluster function
globally
cluster enable
Optional
Enabled by default.
Establishing a Cluster
Before establishing a cluster, you need to specify the management VLAN, and you cannot modify the
management VLAN after a device is added to the cluster.
In addition, you need to configure a private IP address pool for the devices to be added to the cluster
on the device to be configured as the management device before establishing a cluster. Meanwhile,
the IP addresses of the VLAN interfaces of the management device and member devices cannot be in
the same network segment as that of the cluster address pool; otherwise, the cluster cannot work
normally. When a candidate device is added to a cluster, the management device assigns it a private
IP address for it to communicate with other devices in the cluster.
You can establish a cluster in two ways: manually and automatically. With the latter, you can establish
a cluster according to the prompt information. The system:
1) Prompts you to enter a name for the cluster you want to establish;
2) Lists all the candidate devices within your predefined hop count;
3) Starts to automatically add them to the cluster.
You can press Ctrl+C anytime during the adding process to exit the cluster auto-establishment
process. However, this will only stop adding new devices into the cluster, and devices already added
into the cluster are not removed.
Follow these steps to manually establish a cluster:
To do… Use the command… Remarks
Enter system view system-view —
Specify the management VLAN management-vlan vlan-id
Optional
By default, VLAN 1 is the
management VLAN.
Enter cluster view cluster —
Configure the private IP address
range for member devices
ip-pool
administrator-ip-address
{ mask | mask-length }
Required
Not configured by default.
Manually
establish a
cluster
build name
Establish a
cluster
Automatically
establish a
cluster
auto-build [ recover ]
Required
Use either approach
By default, the device is not
the management device.