26-10Enabling the Cluster FunctionTo do… Use the command… RemarksEnter system view system-view —Enable the cluster functionglobally cluster enable OptionalEnabled by default.Establishing a ClusterBefore establishing a cluster, you need to specify the management VLAN, and you cannot modify themanagement 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 clusteron 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 inthe same network segment as that of the cluster address pool; otherwise, the cluster cannot worknormally. When a candidate device is added to a cluster, the management device assigns it a privateIP 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 establisha 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-establishmentprocess. However, this will only stop adding new devices into the cluster, and devices already addedinto the cluster are not removed.Follow these steps to manually establish a cluster:To do… Use the command… RemarksEnter system view system-view —Specify the management VLAN management-vlan vlan-idOptionalBy default, VLAN 1 is themanagement VLAN.Enter cluster view cluster —Configure the private IP addressrange for member devicesip-pooladministrator-ip-address{ mask | mask-length }RequiredNot configured by default.Manuallyestablish aclusterbuild nameEstablish acluster Automaticallyestablish aclusterauto-build [ recover ]RequiredUse either approachBy default, the device is notthe management device.