I decided to upgrade our two Nexus boxes to the latest code before putting them on the network. The procedure is a bit different compared to a regular IOS upgrade. You need to download two files– the NX-OS image, and the “kickstart” image that corresponds to it. I chose to connect to the management port on the supervisor to upload the image. It’s in its own vrf so don’t forget that when trying to ping, etc.
Here is the process below as I did it ::
switch(config)# inter mgmt 0
switch(config-if)# ip address 1.1.1.2 255.0.0.0
switch(config-if)# no shut
switch(config-if)# end
switch# ping 1.1.1.1 vrf management
switch# copy ftp://1.1.1.1/n7000-s1-dk9.4.1.3.bin bootflash:
Enter vrf (If no input, current vrf ‘default’ is considered): management
Enter username: ftp
Password:
***** Transfer of file Completed Successfully *****
switch# copy ftp://1.1.1.1/n7000-s1-kickstart.4.1.3.bin bootflash:
Enter vrf (If no input, current vrf ‘default’ is considered): management
Enter username: ftp
Password:
switch# install all kickstart bootflash:n7000-s1-kickstart.4.1.3.bin system bootflash:n7000-s1-dk9.4.1.3.bin
Verifying image bootflash:/n7000-s1-kickstart.4.1.3.bin for boot variable “kickstart”.
[####################] 100% — SUCCESS
Verifying image bootflash:/n7000-s1-dk9.4.1.3.bin for boot variable “system”.
[####################] 100% — SUCCESS
Verifying image type.
[####################] 100% — SUCCESS
Extracting “lc1n7k” version from image bootflash:/n7000-s1-dk9.4.1.3.bin.
[####################] 100% — SUCCESS
Extracting “bios” version from image bootflash:/n7000-s1-dk9.4.1.3.bin.
[####################] 100% — SUCCESS
Extracting “system” version from image bootflash:/n7000-s1-dk9.4.1.3.bin.
[####################] 100% — SUCCESS
Extracting “kickstart” version from image bootflash:/n7000-s1-kickstart.4.1.3.bin.
[####################] 100% — SUCCESS
Extracting “cmp” version from image bootflash:/n7000-s1-dk9.4.1.3.bin.
[####################] 100% — SUCCESS
Extracting “cmp-bios” version from image bootflash:/n7000-s1-dk9.4.1.3.bin.
[####################] 100% — SUCCESS
Notifying services about system upgrade.
[####################] 100% — SUCCESS
Compatibility check is done:
Module bootable Impact Install-type Reason
—— ——– ————– ———— ——
1 yes disruptive reset Reset due to single supervisor
2 yes disruptive reset Reset due to single supervisor
3 yes disruptive reset Reset due to single supervisor
4 yes disruptive reset Reset due to single supervisor
5 yes disruptive reset Reset due to single supervisor
Switch will be reloaded for disruptive upgrade.
Do you want to continue with the installation (y/n)? [n] y
At this point, the switch upgrades and reboots. Allow 15-20 minutes for the upgrade. Since I connected a lot of 10 gig uplinks this week, it’s almost time to start working on the configs.
Reference
http://www.cisco.com/en/US/docs/switches/datacenter/sw/4_1/nx-os/upgrade/guide/nx-os_upgrade.html
Ted
CCIE No. 21785
Thanks so much for this information! It made upgrading our MDS 9148′s to the latest NX-OS a breeze!
bks
Thank for the infor. how would you do a nondisruptive upgrade on Nexus 7000 with duel processors active and standby through console port. I have to do this upgrade but is realised that this complitely deferent from the way we upgrade normal switch or router.
Please help.