519
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.
Usage Guide: 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.
Note: On layer3 interface that be configured cluster commander command, avoid
configure 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
18.2.2.5 cluster member
Command: cluster member {candidate-sn <cand-sn> | mac-address <mac-add>
[<mem-id>]} [password <pass>]
no cluster member < mem-id >
Function: Add a candidate switch to the cluster in the commander switch; the “no cluster
member < mem-id >” command deletes a member switch from the cluster.
Parameter: <mem-id> is the member ID, valid range is 1 to 23; <cand-sn> is the
sequence number of the switch in the candidate switch list, valid range is 0 to
127. Users can use “;” or “-” to specify multiple numbers or successive numbers;
<mac-add> is the MAC address of the member switch in the format of
XX-XX-XX-XX-XX-XX; <pass> is the privileged password of the member switch.
Command mode: Global Mode
Usage Guide: When this command is executed in the commander switch, the switch with
<mac-add> or <cand-sn> will be added to the cluster which the commander
switch belongs to. If this command is executed in a non-commander switch, an
error will be displayed.
Example: In the commander switch, add the candidate switch which has the sequence
number as 17 and password as mypassword to the cluster.
Switch(config)#cluster member candidate-sn 17 password mypassword