File Download Sequence
Whenever the Automatic Update feature is triggered (see Triggers for Automatic Update), the device attempts to download the files (if available) from the configured URLs in the following order:
|
1.
|
CLI Script file (.txt) |
|
2.
|
CLI Startup Script file (.txt) |
|
3.
|
Periodic software file (.cmp) download |
|
4.
|
One-time software file (.cmp) download |
The following files automatically instruct the device to reset:
|
■
|
CLI Startup Script file |
|
■
|
Periodic software file (.cmp) |
|
■
|
One-time software file (.cmp) |
When multiple files requiring a reset are downloaded, the device resets only after it has downloaded and installed all the files. However, you can explicitly instruct the device to immediately reset for the following files:
|
■
|
CLI Script file: Use the reload if-needed CLI command |
|
●
|
If you have configured one-time software file (.cmp) download (configured by the [CmpFileURL] parameter or CLI command configure system > automatic-update > firmware), the device will only apply the file if one-time software updates are enabled. This is disabled by default to prevent unintentional software upgrades. To enable one-time software upgrades, set the [AutoUpdateCmpFile] parameter to [1] or CLI command, configure system > automatic-update > update-firmware on. |
|
●
|
If you need to update the device's software and configuration, it is recommended to first update the software. This is because the current ("old") software (before the upgrade) may not be compatible with the new configuration. However, if both files are available for download on the provisioning server(s), the device first downloads and applies the new configuration, and only then does it download and install the new software. Therefore, this is a very important issue to take into consideration. |
|
●
|
If more than one file needs to be updated: |
|
✔
|
CLI Script and cmp: The device downloads and applies the CLI Script file on the currently ("old") installed software version. It then downloads and installs the cmp file with a reset. Therefore, the CLI Script file MUST have configuration compatible with the "old" software version. |
|
✔
|
CLI Startup Script and cmp: The device downloads both files, resets, applies the new cmp, and then applies the configuration from the Startup Script file on the new software version. |
|
✔
|
CLI Script and Startup Script: The device downloads and applies both files; but the Startup Script file overwrites all the configuration of the CLI Script file |