The vsx update-software command is used to update the switch software with minimal to no downtime.
This command gives administrators the option to save the running configuration on the primary and secondary VSX switches.
After the command saves the running configuration, it downloads new software from the TFTP server and verifies the download.
After a successful verification, the command installs the software to the alternative image of both the VSX primary and secondary switches.
The command displays the status of the VSX primary and secondary switches during the upgrade. The command also refreshes the progress bar as the image update progresses. Do not interrupt the VSX primary CLI session until the software updates completes; however, software update process can be stopped.
If the upgrade is stopped when the secondary switch has already installed the image in its flash memory or the secondary switch has started the reboot process, it comes up with the new software.
The primary switch continues to have with older software. Administrators can stop the software update process by pressing ctrl+c.
NOTE If not wanting to proceed with pre-staging, the new software can be uploaded directly using the
vsx update-softwarecommand. However, if the firmware is not pre-staged, then the method will be limited to only TFTP.
The vsx update-software command is used to update the switch software. The following describes the syntax and parameters of the command.
vsx update-software <REMOTE-URL> [vrf <VRF-NAME>]
<REMOTE-URL>
Specifies the TFTP URL for downloading the software.
vrf <VRF-NAME>
(Optional) Specifies the VRF name for downloading the software.
NOTE If the new software is already pre-staged, call the image bank where the new image is located instead of using the TFTP.
vsx update-software tftp://192.168.1.1/XL.10.0x.xxxx vrf mgmt
Do you want to save the current configuration (y/n)? y
The running configuration was saved to the startup configuration.
This command will download new software to the %s image of both the VSX primary and secondary systems,
then reboot them in sequence. The VSX secondary will reboot first, followed by the primary.
Continue (y/n)? y
VSX Primary Software Update Status : <VSX primary software update status>
VSX Secondary Software Update Status : <VSX secondary software update status>
VSX ISL Status : <VSX ISL status>
Progress [..........................................................................................]
Secondary VSX system updated completely. Rebooting primary.