Overview of Smart Upgrade
Definition
As the number of switches on a network drastically increases year by year, the traditional upgrade operations become rather complicated and laborious, resulting in higher maintenance costs. To upgrade a switch to the latest software version in a more convenient way, smart upgrade is developed to implement one-click upgrade.
Smart upgrade achieves one-click loading of and upgrade to the latest version of software by connecting switches to the Huawei Online Upgrade Platform (HOUP) through the Internet.
System files to be downloaded by a smart upgrade-enabled switch depend on the maintenance policy customized on the HOUP and do not need to be manually specified.
Deployment Mode
Implementation
Figure 9-3 shows the exchange process between the HOUP and switches to implement one-click smart upgrade.
The process is as follows:
- Once smart upgrade is enabled on a switch, the switch begins to automatically report its status information to the HOUP every 24 hours to request for the latest upgrade details.
- The HOUP returns upgrade details including the latest system software version and patch to the switch based on the customized maintenance policy.
- The administrator determines whether to perform an upgrade based on the returned upgrade details. You can view upgrade prompts on the web page and determine whether an upgrade is required using the CLI.
- The administrator can click Upgrade Immediately on the web page or run the smart-upgrade right-now command on the CLI to trigger an upgrade in one-click mode.
During an upgrade
- The switch requests to download the latest system files from the HOUP.
- The HOUP transfers system files to the switch using HTTPS based on the download request.
- After the system files are downloaded, the switch automatically sets the system software or patch for next startup, and restarts for the upgrade. (If only hot patches are loaded, the switch does not automatically restart.)
After an upgrade
After the switch restarts, it automatically reports the upgrade results to the HOUP. If the upgrade fails, the HOUP notifies Huawei maintenance engineers of the failure.