rupgrade_tool Application
The firmware in the switch is upgraded using the rupgrade_tool application. The format
of the command line is:
rupgrade_tool option [argument] [argument] .....
The following table lists the options to the application.
|
|
-h [--help] |
Prints help information. |
-s [--u=filename][--k=filename] [--r=filename][--proto=protocol] [--hook=script][-v][-d] |
Starts the
upgrade.
[--u=filename.bin] – U-Boot firmware filename.
[--k=filename.kernel] – Linux kernel firmware filename.
[--r=filename.rfs] – root file system firmware filename.
[--proto=protocol] – Sets the protocol to use for upgrade. protocol can be in the form of: no – Firmware files are already in /tmp. cp:path_to_files – firmware files are already in a local directory ftp:server_ip_address:path_to_files:username[:password] scp:server_ip_address:path_to_files:username[::port]
[--hook=script] – Calls a script.
[-v] – Enables verbose output.
[-d] – Bypasses downloading the firmware file to the /tmp directory.
|
-c [-v] |
Checks the upgrade. [-v] – Enables verbose output. |
-f [--hook=script] [-v] |
Completes the upgrade procedure. This command flips provisional
to persistent and vice-versa.
|
-w [-f] |
Prints out the log of the upgrade, the /var/upgrade/status
file. [-f] – Deletes the /var/upgrade/status file. |
-S [-v] |
Strobes the upgrade WDT and validates the sanity
of the upgrade. [-v] – Enables verbose output. |
-u |
Undoes a successful upgrade session, reverting to
the previous persistent section. Also invokes a reboot. |
|
Related Information