cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3994
Views
0
Helpful
0
Comments
Tomas de Leon
Cisco Employee
Cisco Employee

 

Today's TIP OF THE DAY is to give an example of how to upgrade a leaf node switch to a selected firmware version that is already available in the APIC firmware repository.

 

The firmware repository resides on the APIC controllers in the fabric. Access one of the the APIC controllers in the fabric. Use SSH as "admin" user to access the APIC CLI. Once connected to the APIC via SSH, you can start the Upgrade process of a selected node switch.

 

Note: Access to the APIC ADMIN GUI, may also be needed if the Node Switch(s) is a member of an existing firmware & maintenance group. This is shown later in the steps.


Common Steps to Perform the Upgrade via the CLI:


admin@fab1_apic1:~> firmware
add add a firmware to the repository
delete delete a firmware from the repository
list show the available firmwares in repository
upgrade upgrade the apic or switch firmware


admin@fab1_apic1:~> firmware list
Name : aci-n9000-dk9.11.0.1.863.bin
Type : switch
Version : 11.0(1.863)
Size(Bytes) : 497599715
Release-Date : 2014-09-24T04:35:52.000-04:00
Download-Date : 2014-09-25T00:41:45.171-04:00

Name : aci-n9000-dk9.11.0.1.862.bin
Type : switch
Version : 11.0(1.862)
Size(Bytes) : 497635868
Release-Date : 2014-09-22T02:01:02.000-04:00
Download-Date : 2014-09-22T16:54:02.033-04:00

Name : aci-n9000-dk9.11.0.1c.bin
Type : switch
Version : 11.0(1c)
Size(Bytes) : 479941877
Release-Date : 2014-09-08T20:03:46.000-04:00
Download-Date : 2014-09-24T15:38:19.246-04:00


admin@fab1_apic1:~> firmware upgrade
catalog upgrade the catalog firmware
controllers upgrade the controller firmware
status firmware upgrade status on nodes
switch upgrade the switch firmware


admin@fab1_apic1:~> firmware upgrade switch
node node-id


admin@fab1_apic1:~> firmware upgrade switch node
101 fab1_leaf1
102 fab1_leaf2
103 fab1_leaf3
201 fab1_spine1
202 fab1_spine2


admin@fab1_apic1:~> firmware upgrade switch node 102
aci-n9000-dk9.11.0.1.862.bin
aci-n9000-dk9.11.0.1.863.bin
aci-n9000-dk9.11.0.1c.bin


admin@fab1_apic1:~> firmware upgrade switch node 102 aci-n9000-dk9.11.0.1c.bin
<CR> Carriage return

 

 

## POSSIBLE ERROR IF NODE IS ALREADY PART OF AN OF EXISTING FIRMWARE & MAINTENANCE GROUP

 

admin@fab1_apic1:~> firmware upgrade switch node 102 aci-n9000-dk9.11.0.1c.bin
The node 102 is already part of some other firmware group.
Please remove the node from other firmware group and re-try.
Firmware Installation on Switch Failed

 

 

## USE THE ADMIN GUI TO REMOVE GROUP MEMBERSHIP TO EXISTING FIRMWARE & MAINTENANCE GROUPS. AFTER NODE 102 WAS REMOVED FROM GROUP MEMBERSHIP OF EXISTING FIRMWARE & MAINTENANCE GROUPS, INITIATE FIRMWARE UPGRADE FROM CLI.


admin@fab1_apic1:~> firmware upgrade switch node 102 aci-n9000-dk9.11.0.1c.bin
Firmware Installation on Switch Scheduled
To check the upgrade status, use 'firmware upgrade status node <node-id>'

admin@fab1_apic1:~> firmware upgrade status node 102
Node-Id Role Upgrade-Status Progress-Percent(if inprogress)
-----------------------------------------------------------
102 leaf inprogress 5

admin@fab1_apic1:~> firmware upgrade status node 102
Node-Id Role Upgrade-Status Progress-Percent(if inprogress)
-----------------------------------------------------------
102 leaf inprogress 45

admin@fab1_apic1:~> firmware upgrade status node 102
Node-Id Role Upgrade-Status Progress-Percent(if inprogress)
-----------------------------------------------------------
102 leaf inprogress 70

admin@fab1_apic1:~> firmware upgrade status node 102
Node-Id Role Upgrade-Status Progress-Percent(if inprogress)
-----------------------------------------------------------
102 leaf inprogress 80

 

 

## SWITCH NODE RELOADING

 

admin@fab1_apic1:~> firmware upgrade status node 102
Node-Id Role Upgrade-Status Progress-Percent(if inprogress)
-----------------------------------------------------------
102 leaf unknown unknown

admin@fab1_apic1:~> firmware upgrade status node 102
Node-Id Role Upgrade-Status Progress-Percent(if inprogress)
-----------------------------------------------------------
102 leaf notscheduled 0

admin@fab1_apic1:~> firmware upgrade status node 102
Node-Id Role Upgrade-Status Progress-Percent(if inprogress)
-----------------------------------------------------------
102 leaf completeok 100

 

 

## SUCCESSFUL UPGRADE

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: