Updates system firmware.
Note
As a best practice, do not list the password in the command line for security purposes. The user will be prompted for the password.Exec mode
This command is available only to users with admin role.
Host IP must be in the format of a valid IPv4 address.
Versioning format is YearBorn.Major.Minor.Patch. If there are no errors during install, the system reboots and the firmware update is active.
Error | Reason |
---|---|
Error: filename.bin is not a valid URL format | URL in command is poorly formed or missing. |
Error: No such host test.example.com | DNS resolution is not configured on the device or the address is poorly formed. |
Error: Host IP not reachable | Host is down or IPv4 address entered incorrectly. |
Error: Invalid user credentials | User does not have permissions or credentials were typed incorrectly. |
Error: File abc.txt is not the correct format for service images | Valid file format is binary. |
Activate failed with error: Activation failed - Checksum mismatch for /var/data/firmware/TierraOS-xx.x.x.x-NPB.bin | Checksum does not match. |
The following examples update system firmware.
device# system firmware update http://1.1.1.1:8000/path/TierraOS-21.1.0.0-NPB.bin device# system firmware update scp://test:pass@1.1.1.1/path/TierraOS-21.1.0.0-NPB.bin device# system firmware update sftp://test:pass@1.1.1.1/path/TierraOS-21.1.0.0-NPB.bin
The following examples show error messages for system firmware update.
Invalid URL format:
device# system firmware update temp.bin
temp.bin is not a valid URL format
Usage:
scp://user:pass@host[:port]/filepath/filename
sftp://user:pass@host[:port]/filepath/filename
http://[user:pass@]domain[:port]/filepath/filename
https://[user:pass@]domain[:port]/filepath/filename
Image cannot be downloaded:
device# system firmware update http://test.example.com:9000/path/filename.bin
Error: Input File does not exist
Firmware version is already running:
device# NPB# system firmware update http://1.1.1.1:8000/path/TierraOS-21.1.0.0-NPB.bin
Activate failed with error: Activation failed - version TierraOS-21.1.0.0-NPB is already running
Checksum of the image does not match:
device# NPB# system firmware update http://1.1.1.1:8000/path/TierraOS-21.1.0.0-NPB.bin
Activate failed with error: Activation failed - Checksum mismatch for /var/data/firmware/ TierraOS-21.1.0.0-NPB.bin