852
Command mode:
Global Mode
Default:
There is no private IP address pool by default.
Instructions:
Before creating the cluster, users have to set the private IP address pool in
the commander switch. The cluster can’t be created if the private IP address pool is not
set. When candidate switches join the cluster, the commander switch assigns a private IP
address for each member switch. These IP addresses are used to communicate between
the commander switch and the member switches. This command can be only used in a
non-member switch. As soon as the cluster is created, the users can’t modify the IP
address pool. The “no cluster ip-pool” command clears the address pool and there is no
default setting to be restored.
Example:
Set the private IP address pool for the member switches to 192.168.1.64
Switch(config)#cluster ip-pool 192.168.1.64
23.3.4 cluster commander
Command: cluster commander <cluster-name> [vlan <vlan-id>]
no cluster commander
Function:
Enables a commander switch, create a cluster, or modify a cluster’s name; the
“
no cluster commander
” command deletes the cluster.
Parameter: <cluster-name>
is the cluster’s name;
<vlan-id>
is the VLAN of the Layer 3
device which the cluster belongs to. If it is omitted, the cluster belongs to VLAN1.
Command mode:
Global Mode
Default:
There is no cluster by default.
Instructions:
This command sets the switch as a commander switch and creates a
cluster. Before executing this command, users must configure a private IP address pool.
If users executes this command again, the cluster’s name will be changed and this
information is distributed to the member switches. If users execute this command in a
member switch, an error will be displayed. If users execute this command again with a
new vlan id, the new vlan id is invalid.
Notice:
On layer3 interface configured as cluster commander , avoid configuring
RIP,OSPF routing protocol, otherwise, those routing protocols will not work.
Example:
Set the switch as a commander switch. The cluster’s name is admin and the
vlan-id is vlan
Switch(config)#cluster commander admin vlan 2
23.3.5 cluster member
Command:cluster member {candidate-sn <cand-sn> | mac-address <mac-add>