
257
undo cluster enable
View
System view
Default level
2: System level
Parameters
None
Description
Use the
cluster enable
command to enable the cluster function.
Use the
undo cluster enable
command to disable the cluster function.
By default, the cluster function is enabled.
•
When you execute the
undo cluster enable
command on a management switch, you remove the
cluster and its members, prevent the switch from functioning as a management switch, and disable
the cluster function on the switch
•
When you execute the
undo cluster enable
command on a member switch, you disable the cluster
function on the switch, and the switch leaves the cluster.
•
When you execute the
undo cluster enable
command on a switch that belongs to no cluster, you
disable the cluster function on the switch.
Examples
# Enable the cluster function.
<Sysname> system-view
[Sysname] cluster enable
cluster switch-to
Syntax
cluster
switch-to
{
member-number
|
mac-address
mac-address
|
administrator
|
sysname
member-sysname
}
View
User view
Default level
0: Visit level
Parameters
member-number
: Specifies the number of a member switch in a cluster, which ranges from 1 to 255.
mac-address
mac-address
: Specifies the MAC address of a member switch, which is in the format H-H-H.
administrator
: Switches from a member switch to the management switch.
sysname
member-sysname
: Specifies the system name of a member switch, a string of 1 to 32 characters.
Description
Use the
cluster switch-to
command to switch between the management switch and member switches.