11-08-2022 02:06 AM
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?
Solved! Go to Solution.
11-08-2022 11:12 AM
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.
11-08-2022 11:12 AM
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.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide