Page 1 of 1

Show firmware version on command line

Posted: Mon Jun 15, 2020 5:35 am
by ukzerosniper
Hi Guys,

Does anyone know if it is possible to show the firmware version only on command line?

I know we can see it with show status, however that returns loads of unique information.

I would like to run a command via Unimus to quickly identify on around 1000 switches which ones are on which firmware. Ideally I dont want to have to look at each result 1 by 1.

We have found an issues with 1.5.5 that has caused instability on a number of switches and would like to find out quickly which other switches are currently running it and downgrade them to 1.5.4.

Thanks guys

Re: Show firmware version on command line

Posted: Mon Jun 15, 2020 12:59 pm
by Stephen
You can easily do that with the Netonix Manager to monitor all of these switches at once to see their firmware versions and upgrade/downgrade as necessary.

Could you provide some more details on the problem you're seeing with 1.5.5?

Re: Show firmware version on command line

Posted: Mon Jun 15, 2020 11:46 pm
by Omniflux
ukzerosniper wrote:Does anyone know if it is possible to show the firmware version only on command line?


I don't know a single command you can use. Can you issue multiple commands?

Code: Select all

Z-133 PoE Switch# cmdline

BusyBox v1.19.4 (2018-06-01 19:38:44 EDT) built-in shell (ash)
Enter 'help' for a list of built-in commands.
 
admin@Z-133_PoE_Switch:/www# cat version.txt && exit
1.5.5
Z-133 PoE Switch#

Re: Show firmware version on command line

Posted: Tue Jun 16, 2020 3:19 am
by ukzerosniper
Stephen wrote:You can easily do that with the Netonix Manager to monitor all of these switches at once to see their firmware versions and upgrade/downgrade as necessary.

Could you provide some more details on the problem you're seeing with 1.5.5?




We found that one switch simply wouldnt pass traffic correctly across its VLANS. It seemed that it was generating a huge amount of ARP traffic. It was really unusual..

We found that another switch could not pass VLAN traffic when running QinQ to use the switch as a midspan POE injector.

Re: Show firmware version on command line

Posted: Tue Jun 16, 2020 3:19 am
by ukzerosniper
Omniflux wrote:
ukzerosniper wrote:Does anyone know if it is possible to show the firmware version only on command line?


I don't know a single command you can use. Can you issue multiple commands?

Code: Select all

Z-133 PoE Switch# cmdline

BusyBox v1.19.4 (2018-06-01 19:38:44 EDT) built-in shell (ash)
Enter 'help' for a list of built-in commands.
 
admin@Z-133_PoE_Switch:/www# cat version.txt && exit
1.5.5
Z-133 PoE Switch#


This looks interesting, we could certainly try this. Thanks

Re: Show firmware version on command line

Posted: Tue Jun 16, 2020 3:20 am
by ukzerosniper
Stephen wrote:You can easily do that with the Netonix Manager to monitor all of these switches at once to see their firmware versions and upgrade/downgrade as necessary.

Could you provide some more details on the problem you're seeing with 1.5.5?


Great, I will have a look, I didn't realize this was a thing!

Thanks

Re: Show firmware version on command line

Posted: Tue Jun 16, 2020 3:47 am
by ukzerosniper
ukzerosniper wrote:
Omniflux wrote:
ukzerosniper wrote:Does anyone know if it is possible to show the firmware version only on command line?


I don't know a single command you can use. Can you issue multiple commands?

Code: Select all

Z-133 PoE Switch# cmdline

BusyBox v1.19.4 (2018-06-01 19:38:44 EDT) built-in shell (ash)
Enter 'help' for a list of built-in commands.
 
admin@Z-133_PoE_Switch:/www# cat version.txt && exit
1.5.5
Z-133 PoE Switch#


This looks interesting, we could certainly try this. Thanks


Just to update, this worked perfectly