Show firmware version on command line

ukzerosniper
Member
 
Posts: 5
Joined: Mon May 06, 2019 6:07 am
Has thanked: 0 time
Been thanked: 0 time

Show firmware version on command line

Mon Jun 15, 2020 5:35 am

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

User avatar
Stephen
Employee
Employee
 
Posts: 966
Joined: Sun Dec 24, 2017 8:56 pm
Has thanked: 77 times
Been thanked: 169 times

Re: Show firmware version on command line

Mon Jun 15, 2020 12:59 pm

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?

User avatar
Omniflux
Experienced Member
 
Posts: 113
Joined: Tue Feb 24, 2015 3:04 pm
Has thanked: 5 times
Been thanked: 32 times

Re: Show firmware version on command line

Mon Jun 15, 2020 11:46 pm

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#

ukzerosniper
Member
 
Posts: 5
Joined: Mon May 06, 2019 6:07 am
Has thanked: 0 time
Been thanked: 0 time

Re: Show firmware version on command line

Tue Jun 16, 2020 3:19 am

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.

ukzerosniper
Member
 
Posts: 5
Joined: Mon May 06, 2019 6:07 am
Has thanked: 0 time
Been thanked: 0 time

Re: Show firmware version on command line

Tue Jun 16, 2020 3:19 am

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

ukzerosniper
Member
 
Posts: 5
Joined: Mon May 06, 2019 6:07 am
Has thanked: 0 time
Been thanked: 0 time

Re: Show firmware version on command line

Tue Jun 16, 2020 3:20 am

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

ukzerosniper
Member
 
Posts: 5
Joined: Mon May 06, 2019 6:07 am
Has thanked: 0 time
Been thanked: 0 time

Re: Show firmware version on command line

Tue Jun 16, 2020 3:47 am

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

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 23 guests