There are two ways for online upgrade:
Scheduled upgrade
The switch periodically sends request packets to the upgrade center to check whether a new SA-SDB version is available. If so, the switch automatically downloads the latest SA-SDB and updates the local SA-SDB at the specified time.
Immediate upgrade
When users find that a new SA-SDB version is available on the network, they can upgrade the SA-SDB immediately if the scheduled SA-SDB upgrade time is not reached or scheduled upgrade is not enabled on the switch, the immediate upgrade can be used. The SA-SDB download address and upgrade process of immediate upgrade are the same as those of scheduled upgrade.
The aging time of the download server is configured.
The download server is a server dedicated by the upgrade center to provide download services.
By default, the aging time of the download server is seven days.
The aging time of the download server takes effect only for HTTPS upgrade but not HTTP upgrade.
The protocol for online upgrade through the upgrade center is configured.
By default, HTTPS is used for online upgrade through the upgrade center. That is, the switch uses the HTTPS protocol to send upgrade requests and download the SA-SDB.
HTTP upgrade may bring risks, and therefore HTTPS upgrade is recommended.
Perform this step when the switch connects to the upgrade center through a proxy server.
If the domain name of the upgrade center or proxy server is configured, DNS must be configured to resolve the domain name.
Run update host source { interface-type interface-number | ip ip-address [ vpn-instance vpn-instance ] }
The source IP address of online upgrade request packets is specified.
If the switch connects to an extranet through a VPN instance, you must configure the update host source ip ip-address command to ensure successful upgrade.
The SA-SDB upgrade frequency can be adjusted, and once a week is recommended.
Scheduled upgrade may fail due to some reasons. If the upgrade fails, the system tries to upgrade the SA-SDB periodically. You can adjust the SA-SDB re-download and re-loading intervals for scheduled upgrade. To configure the SA-SDB re-download interval (3600 seconds by default), run the update schedule retry-download interval interval-value command in the system view. To configure the SA-SDB re-loading interval (3600 seconds by default), run the update schedule retry-load interval interval-value command.
If the service performance of the switch is affected due to a low speed of network access after a scheduled or immediate upgrade, you can run the update abort command to terminate the SA-SDB upgrade operation. Wait till the network environment is improved and then run the update online sa-sdb command to continue the latest SA-SDB download.
There are two modes available:
By default, the system uses the download and installation mode.
If the download only mode is required, enable the installation confirmation function and install the SA-SDB manually.