cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1051
Views
5
Helpful
1
Replies

ACI firmware upgrade group summary in the CLI / moquery

Johannes Luther
Level 4
Level 4

Hi ACI team,

I want an overview which includes all switches in the fabric and the corresponding upgrade group.
In the GUI (4.2) this is located in "Admin > Firmware > Infrastructure > Nodes".
This includes a list of all switches with the current firmware AND the corresponding upgrade group.
I want to have this list somehow CLI based. The important factor is to find out switches, which are NOT member of any upgrade group (because the assignment were forgotten during initial provisioning).

A good command in the CLI is "show firmware upgrade status", but this is missing the upgrade group name.

Using the REST-API / moquery is kinda hard as well, because first of all you need a list of all nodes and then check if each node is assigned to one instance of 'maintMaintGrp' (child object 'fabricNodeBlk')

Any suggestions?

1 Accepted Solution

Accepted Solutions

ecsnnsls
Level 1
Level 1

If the switches are not part of an upgrade group, it won't show up in the output of maintMaintGrp moquery.
From the output of "show firmware upgrade status" you can tell if a switch belongs to an upgrade group by checking the Status column.

"not scheduled" means the switch does not belong to any upgrade group.

View solution in original post

1 Reply 1

ecsnnsls
Level 1
Level 1

If the switches are not part of an upgrade group, it won't show up in the output of maintMaintGrp moquery.
From the output of "show firmware upgrade status" you can tell if a switch belongs to an upgrade group by checking the Status column.

"not scheduled" means the switch does not belong to any upgrade group.

Review Cisco Networking for a $25 gift card

Save 25% on Day-2 Operations Add-On License