Montée de version d’un Cisco Nexus 5K

Récupérer le NX-OS et le Kickstart sur le site Cisco

Déposer les fichiers sur les Nexus, dans notre cas ceci a été réalisé en TFTP.

N5K-01# copy tftp: bootflash:
Enter source filename: n5000-uk9-kickstart.4.1.3.N2.1a.bin
Enter vrf (If no input, current vrf ‘default’ is considered): management
Enter hostname for the tftp server: 10.0.0.1
Trying to connect to tftp server……
Connection to Server Established.
TFTP get operation was successful
N5K-01# copy tftp: bootflash:
Enter source filename: n5000-uk9.4.1.3.N2.1a.bin
Enter vrf (If no input, current vrf ‘default’ is considered): management
Enter hostname for the tftp server: 10.0.0.1
Trying to connect to tftp server……
Connection to Server Established.
TFTP get operation was successful

Une fois les fichiers déposés vous pouvez vérifier leur présence grâce à la commande « dir »

N5K-01# dir
47     Apr 17 07:52:30 2010  ..tmp-kickstart
37     Apr 17 07:52:31 2010  ..tmp-system
22315520     Apr 17 07:52:30 2010  .tmp-kickstart
136327913     Apr 17 07:52:31 2010  .tmp-system
4096     Jan 25 17:09:26 2010  SCRIPTS/
501     Nov 19 20:22:52 2009  license_SSI13420JS5_4.lic
49152     Apr 17 07:52:30 2010  lost+found/
2661     Apr 17 07:57:15 2010  mts.log
21126144     Nov 19 20:10:20 2009  n5000-uk9-kickstart.4.1.3.N1.1.bin
22315520     Apr 15 17:47:43 2010  n5000-uk9-kickstart.4.1.3.N2.1a.bin
134362986     Nov 19 20:14:08 2009  n5000-uk9.4.1.3.N1.1.bin
136327913     Apr 15 18:04:37 2010  n5000-uk9.4.1.3.N2.1a.bin
29243     Feb 09 18:41:12 2010  tftp
4096     Jan 01 01:02:39 2005  vdc_2/
4096     Jan 01 01:02:39 2005  vdc_3/
4096     Jan 01 01:02:39 2005  vdc_4/

Usage for bootflash://
535101440 bytes used
348250112 bytes free
883351552 bytes total

Je vous conseille de vérifier la compatibilité entre votre configuration et le nouveau firmware

N5K-01# show incompatibility system bootflash:n5000-uk9.4.1.3.N2.1a.bin

The following configurations on active are incompatible with  the system image

1) Service : flogi , Capability : CAP_FEATURE_NPIV
Description : N_Port_ID Virtualization (NPIV) Feature
Capability requirement : STRICT
Disable command : no npiv enable

Dans notre cas le système trouve une incompatibilité entre la mise à jour et le fait que la fonction npiv soit activée

Nous avons néanmoins passé la mise à jour.

N5K-01# install all kickstart bootflash:n5000-uk9-kickstart.4.1.3.N2.1a.bin system bootflash:n5000-uk9-kickstart.4.1.3.N2.1a.bin

et nous voici, après reboot de l’équipement, avec un NX-OS mis à jour
N5K-01# show version
Cisco Nexus Operating System (NX-OS) Software
TAC support: http://www.cisco.com/tac
Copyright (c) 2002-2009, Cisco Systems, Inc. All rights reserved.
The copyrights to certain works contained herein are owned by
other third parties and are used and distributed under license.
Some parts of this software are covered under the GNU Public
License. A copy of the license is available at
http://www.gnu.org/licenses/gpl.html.
Software
BIOS:      version 1.2.0
loader:    version N/A
kickstart: version 4.1(3)N2(1a)
system:    version 4.1(3)N2(1a)
power-seq: version v1.2
BIOS compile time:       06/19/08
kickstart image file is: bootflash:/n5000-uk9-kickstart.4.1.3.N2.1a.bin
kickstart compile time:  12/10/2009 21:00:00 [12/11/2009 06:42:02]
system image file is:    bootflash:/n5000-uk9.4.1.3.N2.1a.bin
system compile time:     12/10/2009 21:00:00 [12/11/2009 07:35:56]
Hardware
cisco Nexus5020 Chassis (« 40x10GE/Supervisor »)
Intel(R) Celeron(R) M CPU    with 2074284 kB of memory.
Processor Board ID GAF1234BMGJ
Device name: N5K-01
bootflash:    1003520 kB
Kernel uptime is 2 day(s), 6 hour(s), 5 minute(s), 23 second(s)
Last reset at 399353 usecs after  Sat Apr 17 07:54:36 2010
Reason: Reset by installer
System version: 4.1(3)N1(1)
Service:
plugin
Core Plugin, Ethernet Plugin