cancel
Showing results for 
Search instead for 
Did you mean: 
Create a Post

SMB Backup firmware version from CLI

Jump to solution

Im Embedded GAiA WebGUI, i can see the factory firmware version under Devices > System > System Operations. But clish in # show diag only displays the active firmware version. But is there any possible clish command to show it ?

Tags (1)
0 Kudos
2 Solutions

Accepted Solutions

Re: SMB Backup firmware version from CLI

Jump to solution

Seems it is available - have a look at:

pfrm2.0/opt/fw1/bin/firmware_ver.sh

Usage: firmware_ver.sh [-d <url> <image> <chksum>|-r|-v]
        -d : Download from given URL to given path and verify checksum
        -r : Revert to saved image
        -v : Display firmware versions

Expert@seven-eleven]# firmware_ver.sh -v
77 20 80 990172370 /dev/mtd2    77 20 75 990172320 /dev/mtd4
0 Kudos

Re: SMB Backup firmware version from CLI

Jump to solution

Since R77.20.85, the 'show diag' command shows the secondary and default image name/version in addition to the current one.

Current system info
-----------------------------------
Current image name: R77_990172715_20_85
Current image version: 715
Previous image name: R77_990172701_20_85
Previous image version: 701
Default image name: R77_990172392_20_80
Default image version: 392

5 Replies

Re: SMB Backup firmware version from CLI

Jump to solution

I found it is not # show saved-image - that command does not work....

0 Kudos

Re: SMB Backup firmware version from CLI

Jump to solution

Of course, a simple ver gives the active Firmware Version...

0 Kudos

Re: SMB Backup firmware version from CLI

Jump to solution

Seems it is available - have a look at:

pfrm2.0/opt/fw1/bin/firmware_ver.sh

Usage: firmware_ver.sh [-d <url> <image> <chksum>|-r|-v]
        -d : Download from given URL to given path and verify checksum
        -r : Revert to saved image
        -v : Display firmware versions

Expert@seven-eleven]# firmware_ver.sh -v
77 20 80 990172370 /dev/mtd2    77 20 75 990172320 /dev/mtd4
0 Kudos

Re: SMB Backup firmware version from CLI

Jump to solution

Since R77.20.85, the 'show diag' command shows the secondary and default image name/version in addition to the current one.

Current system info
-----------------------------------
Current image name: R77_990172715_20_85
Current image version: 715
Previous image name: R77_990172701_20_85
Previous image version: 701
Default image name: R77_990172392_20_80
Default image version: 392

Highlighted

Re: SMB Backup firmware version from CLI

Jump to solution

On 14x0 appliances:

- Previous image: # firmTool -c /dev/mtd2

- Current image  : # firmTool -c /dev/mtd4

- Default image   : # firmTool -c /dev/mtd6