856
Command mode:
Global Mode
Default:
The holdtime of heartbeat is 80 seconds by default.
Instructions:
In the commander switch, this command is used to set the holdtime of
heartbeat. And this information is distributed to all the member switches. If this command
is executed in a non-commander switch and the value is less than the current holdtime,
the setting is invalid and an error is displayed.
Example:
Set holdtime of heartbeat of the cluster to 100 seconds
Switch(config)#cluster holdtime 100
23.3.12 cluster heartbeat
Command:cluster heartbeat <interval>
no cluster heartbeat
Function:
In the commander switch, set interval of sending heartbeat packets among the
switches of the cluster; the “
no cluster heartbeat
” command restores the default setting.
Parameter: <interval>
is the interval of heartbeat of the cluster, valid range is 1 to
65535.
Command mode:
The interval of heartbeat is 8 seconds by default.
Default:
Global Mode
Instructions:
In the commander switch, this command is used to set the interval of
heartbeat. And this information is distributed to all the member switches. If this command
is executed in a non-commander switch and the value is more than the current holdtime,
the setting is invalid and an error is displayed.
Example:
Set the interval of sending heartbeat packets of the cluster to 10 seconds.
Switch(config)#cluster heartbeat 10
23.3.13 clear cluster candidate-table
Command: clear cluster candidate-table
Function:
Clear the list of candidate switches discovered by the commander switch.
Command mode:
Admin Mode
Instructions:
In the commander switch, this command is used to clear the list of
candidate switches discovered by the commander switch. If this command is executed in
a non-commander switch, an error will be displayed.
Example:
Clear the list of candidate switches discovered by the commander switch
Switch#clear cluster candidate-table