The SMS system does not allow for the rollback of the TOS (e.g. v4.3 to v4.1), you can only rollback patches applied to the TOS.
The SMS maintains a history of the TOS versions installed on the device. As such it offers the capability to rollback to a previous patch version of the TOS software. It is recommended that if you are required to rollback the SMS, you do so from the GUI interface. However the rollback operations can also be performed via the CLI.
Note 1: Prior to rolling back to a software version, make sure to review the release notes for any specific notations and warnings regarding the functionality for that version.
Note 2: You can only rollback one SMS patch version at a time so when you rollback a patch, you roll back to the previously installed version.
The following table contains useful commands when performing CLI rollback operations.
|SMS CLI Rollback Commands|
|get ctl.patch-releasenotes||Displays the release notes for the currently installed Patch.|
|get ctl.patch-rollback||Displays true if the currently installed Patch can be rolled back, displays false if the currently installed patch cannot be rolled back.|
|get ctl.previous-patch-version||Displays the version of the Patch that you would roll back to if a rollback operation was performed. If no previous Patch was installed it would display None.|
|get sw.patch-version||Displays the version number of the currently installed Patch, or displays None if no patch is installed.|
|get sw.version||Displays the version number of the currently installed TOS software.|
|set ctl.patch-rollback=<current-patch version>||If Set to the version of the currently installed Patch, it rolls it back, to either the previously installed Patch or no Patch if it was the first Patch installed. Example: set ctl.patch-rollback=220.127.116.1112.5|
|set ctl.upgrade-source||Setting the ctl.upgrade-source attribute to a string representing a URL will cause the system to retrieve and apply the update package to the system. Normally, a reboot will be required for the update to become effective. The URL can reference the http, https or ftp protocols. Example: set ctl.upgrade-source=http://www.tippingpoint.com/sms-update-1.0.pkg|
In order to rollback the SMS TOS via the CLI you can execute the following command; set ctl.patch-rollback=<current patch version>
The following examples display the output for various commands;
Based on the information from the example above, executing the command set ctl.patch-rollback=18.104.22.16812.5, would roll back TOS 22.214.171.12412 from Patch 5 to Patch 2 (126.96.36.19912.2).
The following examples display the response from a system that has not been patched;
What is the current TOS software version?