Nexus N5k & N2k Upgrade

Nexus 5k and N2k fabric extender

Current Version: 6.1(2)
Target Version: 6.2(14)

Multistep:
Multihomed vs Singlehomed upgrade

https://community.cisco.com/t5/other-data-center-subjects/n5k-n2k-image-upgrade-single-vs-dual-homed/td-p/1669293

Procedure:

  1. Connect to physical device via console cable.
  2. Pre-installation test
  3. Follow MOP of Dimension Data.
  4. Once all the requirement, image etc. are ready you can proceed to upgrade.

Current Setup:
currentsetup

###DELETE & UPLOAD IMAGE ON NEXUS5K
S1(A)#copy tftp: bootflash:
S1(A)#Name: (Kickstart / System filename.bin)
S1(A)#VRF: Management
S1(A)#TFTPSERVER:10.7.0.21
S1(A)#dir | Include .bin (Select the unused file.)
S1(A)#delete bootflash:name

VERIFY:
Dir bootflash:
Dir | include .bin

SAVE: copy running start

###VERIFYING UPLOAD ED KICKSTART AND SYSYEM
S1(A)#show file bootflash:\\kickstart.bin md5sum

Compare the output command on your md5 document. If there’s a different with the output and the document we need to repeat the upload process.

Verify:
Show Version
Show boot
Dir | I .bin
Show fex
Show vpc role

###pre-installation

###KICKSTART & SYSTEM INSTALLATION (on privilege mode)

S1(A)#install all kickstart bootflash:name system bootflash:name

S1(A)#do you want to continue y/n: Y
upgraded1

After N5k active upgradation process all it fex will transfer to standby fex because all fex’s are using the old version.
up2

Also VPC peer link will be in down state because of version mismatch.

On N5k upgrade process the parent send the updated version to all fexes.
up3

### Activating FEX new installed version
N5k(S)#show fex
Now we only have 2 fex # 1 and 2
! We need to reload all fex one at a time
N5k(S)#reload fex 1
N5k(S)#(y/N): Y
N5k(S)#reload fex 2
N5k(S)#(y/N): Y
We reload the dex so we can activate the newer version.

After reload all fex will transfer to the active and the updated one.
up4

On N5k Standby lets change the boot and kickstart version on global config
N5k-S(conf)#boot system bootflash:name
N5k-S(conf)#boot kickstart bootflash:name

 

Save: Copy run start

Verify N5K Active fex if all online.
#show fex
#show vpc role

Now if FEX on active N5k is all online we can now reload the N5k Standby.
N5k-S#reload

After the boot process verify the ff.
#show boot
#Show version
#show fex
#show vpc role
#show port-channel

Now all N5k and its fex has been upgraded. VPC Link also established.
up5

###ENCOUNTERED ISSUES

  1. Installed different version or path on N5k.

A: All current configuration will be affected and worse case will be erase. So that why we need to backup the existing images and configuration so that we can do rollback incased we encountered this issue.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s