798
switch which has mem-id as 10, src-url as ftp: //admin: [email protected]/nos.img and
dst-url as nos.img
Switch#cluster update member 10 192.168.1.2 ftp: //admin: [email protected]/nos.img
nos.img
22.3.11 cluster holdtime
Command:cluster holdtime <
second>
no cluster holdtime
Function:
In the commander switch, set holdtime of heartbeat of the cluster; the “
no
cluster holdtime
” command restores the default setting.
Parameter: <second>
is the holdtime of heartbeat of the cluster, valid range is 20 to
65535. The holdtime of heartbeat means the maximum valid time of heartbeat packets.
When the heartbeat packets are received again, the holdtime is reset. If no heartbeat
packets are received in the holdtime, the cluster is invalid.
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
22.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.