855
Command: cluster update member <mem-id> <src-url> <dst-url> [ascii | binary]
Function:
In the commander switch, this command is used to remotely upgrade the
member switch.
Parameter: <mem-id>
is the cluster ID of the member switch, valid rang is 1 to 23;
<src-url>
is the source path of the file which need to be copied;
<dst-url>
is the
destination path of the file which need to be copied;
ascii
means that the file is
transmitted in ASCII format;
binary
means that the file is transmitted in binary format.
When
<src-url>
is a FTP address, its format is like: ftp: //
<username>
:
<password>
@<
ipaddress>
/
<filename>.
<username>
is the FTP user name,
<password>
is the FTP password, <
ipaddress>
is the IP address of the FTP server and
<filename>
is
the file name. When
<src-url>
is a TFTP address, its format is like: tftp:
//<
ipaddress>
/
<filename>.
<
ipaddress>
is the IP address of the TFTP server and
<filename>
is the file name.
The special keywords of filename:
Keyword
Source address or destination address
startup-config
Startup configuration file
nos.img
System file
boot.rom
System startup file
Command mode:
Admin Mode
Instructions:
The commander switch sends the remote upgrade command to the
member switch. The member switch is upgraded and reset. If this command is executed
in a non-commander switch, an error will be displayed.
Example:
In the commander switch sends the remote upgrade command to the member
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
23.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.