Mise à jour/ Upgrade NX-OS d'un Nexus 5000
- Détails
- Catégorie : Cisco
- Publié le mardi 10 septembre 2013 16:59
- Écrit par Brahim AIT BENALI
- Affichages : 2869
Mise à jour/ Upgrade NX-OS d'un Nexus 5000
Cet article a pour but de montrer la procédure pour mettre à jour un Nexus 5000.
La mise à jour d'un Nexus 5000 peut se faire à l'aide de seulement quelques commandes.
Mise à jour de l'image kickstart et de l'image system via la commande suivante. Les images servant à la mise à jour peuvent se trouver sur différents supports; locaux, distants et amovibles :
- bootflash:
- ftp:
- scp:
- sftp:
- slot0:
- tftp:
- usb1:
- usb2:
- volatile:
- Vérifier l'espace mémoire avant de télécharger l'image NX-OS
switch# dir bootflash:
|
- Téléchargement du NX-OS via tftp
switch# copy tftp:n5000-uk9.6.0.2.N1.2a.bin bootflash:n5000-uk9.6.0.2.N1.2a.bin switch# copy n5000-uk9-kickstart.6.0.2.N1.2a.bin bootflash:n5000-uk9-kickstart.6.0.2.N1.2a.bin |
- Vérifier l'impact de la nouvelle version sur le fonctionnement de l'équipement
switch# show install all impact kickstart bootflash:n5000-uk9-kickstart.6.0.2.N1.2a.bin system bootflash:n5000-uk9.6.0.2.N1.2a.bin
|
- installer la nouvelle version via la commande "install all"
switch# install all kickstart bootflash:n5000-uk9-kickstart.6.0.2.N1.2a.bin system bootflash:n5000-uk9.6.0.2.N1.2a.bin Verifying image bootflash:/n5000-uk9-kickstart.4.2.1.N1.1.bin for boot variable "kickstart". [####################] 100% -- SUCCESS Verifying image bootflash:/n5000-uk9.4.2.1.N1.1.bin for boot variable "system". [####################] 100% -- SUCCESS Verifying image type. [####################] 100% -- SUCCESS Extracting "system" version from image bootflash:/n5000-uk9.6.0.2.N1.2a.bin. [####################] 100% -- SUCCESS Extracting "kickstart" version from image bootflash:/n5000-uk9-kickstart.6.0.2.N1.2a.bin. [####################] 100% -- SUCCESS Extracting "bios" version from image bootflash:/n5000-uk9.6.0.2.N1.2a.bin. [####################] 100% -- SUCCESS Extracting "fex" version from image bootflash:/n5000-uk9.6.0.2.N1.2a.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 100 yes disruptive reset Reset due to single supervisor Images will be upgraded according to following table: Module Image Running-Version New-Version Upg-Required ------ ---------- ---------------------- ---------------------- ------------ 1 system 6.0(2)N1(2a) 6.0(2)N1(2a) yes 1 kickstart 6.0(2)N1(2a) 6.0(2)N1(2a) yes 1 bios v1.3.0(09/08/09) no 100 fex 6.0(2)N1(2a) 6.0(2)N1(2a) yes Switch will be reloaded for disruptive upgrade. Do you want to continue with the installation (y/n)? [n] y Install is in progress, please wait. Setting boot variables. [####################] 100% -- SUCCESS Performing configuration copy. [####################] 100% -- SUCCESS Module 1: Refreshing compact flash and upgrading bios/loader/bootrom. Warning: please do not remove or power off the module at this time. [####################] 100% -- SUCCESS Pre-loading modules. [This step might take up to 20 minutes to complete - please wait.] [# ] 0%2010 Jun 10 18:27:25 N5K1 %$ VDC-1 %$ %SATCTRL-2-SATCTRL_IMAGE: FEX100 Image update in progress. [##### ] 20% [###### ] 25%2010 Jun 10 18:32:54 N5K1 %$ VDC-1 %$ %SATCTRL-2-SATCTRL_IMAGE: FEX100 Image update complete. Install pending [####################] 100% -- SUCCESS Finishing the upgrade, switch will reboot in 10 seconds. |
- Après le redémarrage de l'équipement, vérifier la nouvelle version
switch# show version Cisco Nexus Operating System (NX-OS) Software TAC support: http://www.cisco.com/tac Copyright ©) 2002-2010, 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 6.0(2)N1(2a) [build 6.0(2)N1(2a)] system: version 6.0(2)N1(2a) [build 6.0(2)N1(2a)] BIOS compile time: 06/19/09 kickstart image file is: bootflash:/n5000-uk9-kickstart.6.0.2.N1.2a.bin kickstart compile time: 7/14/2010 4:00:00 [07/14/2010 04:27:38] system image file is: bootflash:/n5000-uk9.6.0.2.N1.2a.bin system compile time: 7/14/2010 4:00:00 [07/14/2010 05:20:12] Hardware cisco Nexus5020 Chassis ("40x10GE/Supervisor") Intel®) Celeron®) M CPU with 2074240 kB of memory. Processor Board ID JAB1232002F Device name: switch bootflash: 1003520 kB Kernel uptime is 13 day(s), 23 hour(s), 25 minute(s), 5 second(s) Last reset at 720833 usecs after Tue Jul 14 11:18:32 2013 Reason: Reset by installer System version: 6.0.2.N1 Service: plugin Core Plugin, Ethernet Plugin |