¿Tiene una cuenta?
The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
Cisco ha traducido este documento combinando la traducción automática y los recursos humanos a fin de ofrecer a nuestros usuarios en todo el mundo contenido en su propio idioma. Tenga en cuenta que incluso la mejor traducción automática podría no ser tan precisa como la proporcionada por un traductor profesional. Cisco Systems, Inc. no asume ninguna responsabilidad por la precisión de estas traducciones y recomienda remitirse siempre al documento original escrito en inglés (insertar vínculo URL).
En este documento se describe cómo optimizar el proceso de actualización de los switches de la serie Cisco Catalyst 3850 y se presentan técnicas de recuperación tras un desastre de software o arranque. El proceso de actualización es simple, pero puede parecer dificultoso si no se tiene experiencia con las actualizaciones del software Cisco IOS® XE.
Cisco recomienda que tenga conocimiento sobre estos temas:
La información de este documento se basa en el Switch Cisco Catalyst serie 3850 compatible con la versión 03.03.00 y posteriores de Cisco IOS-XE. Los ejemplos de este documento utilizan una solución apilada; de todas formas, se pueden usar los mismos comandos en un switch independiente.
The information in this document was created from the devices in a specific lab environment. All of the devices used in this document started with a cleared (default) configuration. If your network is live, make sure that you understand the potential impact of any command.
Nota: Para descargar imágenes de Cisco IOS-XE desde el sitio web de Cisco debe tener una cuenta válida de Cisco Connection Online (CCO) con las credenciales correspondientes. Además, Cisco no ofrece ninguna solución gratuita de TFTP/FTP, por lo que debe instalar y configurar el TFTP/FTP antes de comenzar.
Al implementar el Switch Cisco Catalyst serie 3850, tiene dos modos de operación para elegir: INSTALACIÓN y PAQUETE. Existen diferencias leves entre los dos modos. Consulte la guía de configuración para más detalles.
Cisco recomienda emplear el modo de INSTALACIÓN durante el funcionamiento, porque ofrece un grupo más completo de funciones y exige menos recursos en el arranque. En este documento se presenta como referencia una breve descripción de cada modo.
Nota: El defecto de software CSCuw82216 puede ocasionar la inoperancia del switch debido a la corrupción de la memoria flash en el momento de la actualización de las versiones 3.6.3 o 3.7.2 previas a 3.6.3/3.7.2 en modo de instalación. El problema se resolvió de las versiones 3.6.4 y 3.7.3 en adelante, por lo cual esto no sucede al pasar a dichas versiones. A raíz de este defecto, se recomienda el modo de paquete para las actualizaciones de las versiones afectadas.
Este es el modo predeterminado para el switch. El modo INSTALL utiliza un archivo de paquete aprovisionado con el nombre packages.conf para iniciar el switch. Además, hay varios archivos .pkg en la memoria flash. Cisco recomienda no alterar estos archivos a menos que lo indique un ingeniero de Cisco Technical Assistance Center (TAC).
Si se siente a gusto con el uso de las imágenes IOS monolíticas tradicionales para iniciar el interruptor, entonces el modo BUNDLE le resultará familiar. El modo BUNDLE consume más memoria que el modo INSTALL porque los paquetes se extraen del Paquete y se copian en la memoria RAM.
Para verificar el modo, introduzca el comando show version (ver versión):
3850-stack#
show version
Cisco IOS Software, IOS-XE Software, Catalyst L3 Switch Software
(CAT3K_CAA-UNIVERSALK9-M), Version 03.03.00SE RELEASE SOFTWARE (fc1)
Switch Ports Model SW Version SW Image
Mode
------------------ ---------- ---------- ----
1 32 WS-C3850-24P 03.03.00SE cat3k_caa-universalk9
INSTALL
* 2 56 WS-C3850-48T 03.03.00SE cat3k_caa-universalk9
INSTALL[an error occurred while processing this directive]
Para comenzar el proceso de actualización, debe descargar el archivo IOS-XE .bin del sitio web de Cisco y colóquelo en la flash de su switch activo. El proceso que se utiliza para copiar el archivo en el switch no se detalla en este documento.
Al copiar el archivo .bin en un switch, el proceso de instalación copia el archivo en los otros switches. Una vez presente el archivo, introduzca este comando:
3850-stack#
software install file flash:cat3k_caa-universalk9.SPA.03.03.01.SE.150-1.EZ1.bin[an error occurred while processing this directive]
switch 1-2
Nota: Hay muchas opciones disponibles para cada comando; sin embargo, en este ejemplo se ejecuta una actualización básica.
Una vez iniciado el proceso de actualización, el switch envía el archivo .bin a los otros switches.
Preparing install operation ...[an error occurred while processing this directive]
[2]: Copying software from active switch 1 to switch 2
Luego de que todos los miembros reciban el archivo .bin , automáticamente se extiende a la unidad flash.
[1 2]: Starting install operation[an error occurred while processing this directive]
[1 2]: Expanding bundle flash:
cat3k_caa-universalk9.SPA.03.03.01.SE.150-1.EZ1.bin
[1 2]: Copying package files
[1 2]: Package files copied
[1 2]: Finished expanding bundle flash:
cat3k_caa-universalk9.SPA.03.03.01.SE.150-1.EZ1.bin
[1 2]: Verifying and copying expanded package files to flash:
[1 2]: Verified and copied expanded package files to flash:
[1 2]: Starting compatibility checks
[1 2]: Finished compatibility checks
[1 2]: Starting application pre-installation processing
[1 2]: Finished application pre-installation processing
A continuación, el switch detalla un resumen de los archivos aptos para la extracción o incorporación del archivo packages.conf pointer.
[1]: Old files list:[an error occurred while processing this directive]
Removed cat3k_caa-base.SPA.03.03.00SE.pkg
Removed cat3k_caa-drivers.SPA.03.03.00SE.pkg
Removed cat3k_caa-infra.SPA.03.03.00SE.pkg
Removed cat3k_caa-iosd-universalk9.SPA.150-1.EZ.pkg
Removed cat3k_caa-platform.SPA.03.03.00SE.pkg
Removed cat3k_caa-wcm.SPA.10.1.100.0.pkg
[2]: Old files list:
Removed cat3k_caa-base.SPA.03.03.00SE.pkg
Removed cat3k_caa-drivers.SPA.03.03.00SE.pkg
Removed cat3k_caa-infra.SPA.03.03.00SE.pkg
Removed cat3k_caa-iosd-universalk9.SPA.150-1.EZ.pkg
Removed cat3k_caa-platform.SPA.03.03.00SE.pkg
Removed cat3k_caa-wcm.SPA.10.1.100.0.pkg
[1]: New files list:
Added cat3k_caa-base.SPA.03.03.01SE.pkg
Added cat3k_caa-drivers.SPA.03.03.01SE.pkg
Added cat3k_caa-infra.SPA.03.03.01SE.pkg
Added cat3k_caa-iosd-universalk9.SPA.150-1.EZ1.pkg
Added cat3k_caa-platform.SPA.03.03.01SE.pkg
Added cat3k_caa-wcm.SPA.10.1.110.0.pkg
[2]: New files list:
Added cat3k_caa-base.SPA.03.03.01SE.pkg
Added cat3k_caa-drivers.SPA.03.03.01SE.pkg
Added cat3k_caa-infra.SPA.03.03.01SE.pkg
Added cat3k_caa-iosd-universalk9.SPA.150-1.EZ1.pkg
Added cat3k_caa-platform.SPA.03.03.01SE.pkg
Added cat3k_caa-wcm.SPA.10.1.110.0.pkg
Por último, se actualiza e incorpora el archivo packges.conf.
[1 2]: Creating pending provisioning file[an error occurred while processing this directive]
[1 2]: Finished installing software. New software will load on reboot.
[1 2]: Committing provisioning file
[1 2]: Do you want to proceed with reload? [yes/no]: yes
Verifique que el proceso de actualización se haya completado correctamente al volver a cargar.
3850-stack#
show ver | i INSTALL
[an error occurred while processing this directive]
1 32 WS-C3850-24P 03.03.01SE cat3k_caa-universalk9 INSTALL
* 2 56 WS-C3850-48T 03.03.01SE cat3k_caa-universalk9 INSTALL
En la memoria flash quedan archivos residuales de versiones anteriores. Si desea eliminarlos, puede introducir el comando software clean en lugar de hacerlo manualmente. Esto purga los archivos que el switch ya no necesita para operar la unidad flash de cada miembro de la pila.
Nota: Este comando también elimina el archivo .bin que se utiliza para instalar el nuevo software IOS. Es importante recordar que una vez que se extrae, ya no lo necesita.
En las dos secciones siguientes se brindan ejemplos de cómo se ve la memoria flash antes y después del comando software clean.
3850-stack#
show flash
-#- --length-- ---------date/time----------- -----------------------path-----------------------
2 2097152 Feb 16 2014 11:38:46.0 +00:00 nvram_config
4 257016048 Jan 28 2014 17:22:12.0 +00:00 cat3k_caa-universalk9.SPA.03.03.00.SE.150-1.EZ.bin
5 4096 Jan 28 2014 17:25:50.0 +00:00 mnt
6 4096 Jan 28 2014 17:25:50.0 +00:00 mnt/images
7 4096 Jan 28 2014 17:25:52.0 +00:00 mnt/images/ap.bak
8 40 Oct 03 2013 05:02:21.0 +00:00 mnt/images/ap.bak/ap1g2.md5
9 11591680 Oct 03 2013 05:02:21.0 +00:00 mnt/images/ap.bak/ap1g2
10 40 Oct 03 2013 05:02:21.0 +00:00 mnt/images/ap.bak/ap3g1.md5
11 10444800 Oct 03 2013 05:02:21.0 +00:00 mnt/images/ap.bak/ap3g1
12 40 Oct 03 2013 05:02:21.0 +00:00 mnt/images/ap.bak/ap3g2.md5
13 13568000 Oct 03 2013 05:02:21.0 +00:00 mnt/images/ap.bak/ap3g2
14 40 Oct 03 2013 05:02:21.0 +00:00 mnt/images/ap.bak/c1140.md5
15 10291200 Oct 03 2013 05:02:21.0 +00:00 mnt/images/ap.bak/c1140
16 11 Oct 03 2013 05:02:21.0 +00:00 mnt/images/ap.bak/version.info
17 1214 Jan 28 2014 17:25:10.0 +00:00 packages.conf.00-
18 79112096 Jan 28 2014 17:25:06.0 +00:00 cat3k_caa-base.SPA.03.03.00SE.pkg
19 6474428 Jan 28 2014 17:25:06.0 +00:00 cat3k_caa-drivers.SPA.03.03.00SE.pkg
20 34501468 Jan 28 2014 17:25:06.0 +00:00 cat3k_caa-infra.SPA.03.03.00SE.pkg
21 1248 Feb 16 2014 11:27:51.0 +00:00 packages.conf
22 34763952 Jan 28 2014 17:25:06.0 +00:00 cat3k_caa-iosd-universalk9.SPA.150-1.EZ.pkg
23 796 Feb 19 2014 11:43:13.0 +00:00 vlan.dat
24 24992476 Jan 28 2014 17:25:06.0 +00:00 cat3k_caa-platform.SPA.03.03.00SE.pkg
25 77167308 Jan 28 2014 17:25:06.0 +00:00 cat3k_caa-wcm.SPA.10.1.100.0.pkg
26 1224 Jan 28 2014 16:39:58.0 +00:00 packages.conf.01-
27 6571 Dec 20 2013 08:56:32.0 +00:00 BLANK_CONFIG.cfg
28 257193048 Feb 16 2014 11:19:44.0 +00:00 cat3k_caa-universalk9.SPA.03.03.01.SE.150-1.EZ1.bin
30 79113792 Feb 16 2014 11:27:46.0 +00:00 cat3k_caa-base.SPA.03.03.01SE.pkg
31 74409080 Jan 28 2014 16:39:54.0 +00:00 cat3k_caa-base.SPA.03.02.01.SE.pkg
32 2775728 Jan 28 2014 16:39:54.0 +00:00 cat3k_caa-drivers.SPA.03.02.01.SE.pkg
33 6476476 Feb 16 2014 11:27:46.0 +00:00 cat3k_caa-drivers.SPA.03.03.01SE.pkg
34 32478052 Jan 28 2014 16:39:54.0 +00:00 cat3k_caa-infra.SPA.03.02.01.SE.pkg
35 30389028 Jan 28 2014 16:39:54.0 +00:00 cat3k_caa-iosd-universalk9.SPA.150-1.EX1.pkg
36 18313952 Jan 28 2014 16:39:54.0 +00:00 cat3k_caa-platform.SPA.03.02.01.SE.pkg
37 63402700 Jan 28 2014 16:39:54.0 +00:00 cat3k_caa-wcm.SPA.10.0.101.0.pkg
38 34503664 Feb 16 2014 11:27:46.0 +00:00 cat3k_caa-infra.SPA.03.03.01SE.pkg
39 34788684 Feb 16 2014 11:27:46.0 +00:00 cat3k_caa-iosd-universalk9.SPA.150-1.EZ1.pkg
40 25009040 Feb 16 2014 11:27:46.0 +00:00 cat3k_caa-platform.SPA.03.03.01SE.pkg
41 77296448 Feb 16 2014 11:27:46.0 +00:00 cat3k_caa-wcm.SPA.10.1.110.0.pkg
237428736 bytes available (1302147072 bytes used)[an error occurred while processing this directive]
3850-stack#
software clean
Preparing clean operation ...
[1 2]: Cleaning up unnecessary package files
[1 2]: No path specified, will use booted path flash:packages.conf
[1 2]: Cleaning flash:
[1]: Preparing packages list to delete ...
In use files, will not delete:
cat3k_caa-base.SPA.03.03.01SE.pkg
cat3k_caa-drivers.SPA.03.03.01SE.pkg
cat3k_caa-infra.SPA.03.03.01SE.pkg
cat3k_caa-iosd-universalk9.SPA.150-1.EZ1.pkg
cat3k_caa-platform.SPA.03.03.01SE.pkg
cat3k_caa-wcm.SPA.10.1.110.0.pkg
packages.conf
[2]: Preparing packages list to delete ...
In use files, will not delete:
cat3k_caa-base.SPA.03.03.01SE.pkg
cat3k_caa-drivers.SPA.03.03.01SE.pkg
cat3k_caa-infra.SPA.03.03.01SE.pkg
cat3k_caa-iosd-universalk9.SPA.150-1.EZ1.pkg
cat3k_caa-platform.SPA.03.03.01SE.pkg
cat3k_caa-wcm.SPA.10.1.110.0.pkg
packages.conf
[1]: Files that will be deleted:
cat3k_caa-base.SPA.03.02.01.SE.pkg
cat3k_caa-base.SPA.03.03.00SE.pkg
cat3k_caa-drivers.SPA.03.02.01.SE.pkg
cat3k_caa-drivers.SPA.03.03.00SE.pkg
cat3k_caa-infra.SPA.03.02.01.SE.pkg
cat3k_caa-infra.SPA.03.03.00SE.pkg
cat3k_caa-iosd-universalk9.SPA.150-1.EX1.pkg
cat3k_caa-iosd-universalk9.SPA.150-1.EZ.pkg
cat3k_caa-platform.SPA.03.02.01.SE.pkg
cat3k_caa-platform.SPA.03.03.00SE.pkg
cat3k_caa-universalk9.SPA.03.03.00.SE.150-1.EZ.bin
cat3k_caa-universalk9.SPA.03.03.01.SE.150-1.EZ1.bin
cat3k_caa-wcm.SPA.10.0.101.0.pkg
cat3k_caa-wcm.SPA.10.1.100.0.pkg
packages.conf.00-
packages.conf.01-
[2]: Files that will be deleted:
cat3k_caa-base.SPA.03.02.01.SE.pkg
cat3k_caa-base.SPA.03.03.00SE.pkg
cat3k_caa-drivers.SPA.03.02.01.SE.pkg
cat3k_caa-drivers.SPA.03.03.00SE.pkg
cat3k_caa-infra.SPA.03.02.01.SE.pkg
cat3k_caa-infra.SPA.03.03.00SE.pkg
cat3k_caa-iosd-universalk9.SPA.150-1.EX1.pkg
cat3k_caa-iosd-universalk9.SPA.150-1.EZ.pkg
cat3k_caa-platform.SPA.03.02.01.SE.pkg
cat3k_caa-platform.SPA.03.03.00SE.pkg
cat3k_caa-universalk9.SPA.03.03.00.SE.150-1.EZ.bin
cat3k_caa-universalk9.SPA.03.03.01.SE.150-1.EZ1.bin
cat3k_caa-wcm.SPA.10.0.101.0.pkg
cat3k_caa-wcm.SPA.10.1.100.0.pkg
packages.conf.00-
packages.conf.01-
[1 2]: Do you want to proceed with the deletion? [yes/no]:
yes
[an error occurred while processing this directive]
[1 2]: Clean up completed
Esta es la salida del comando show flash tras la limpieza:
3850-stack#
show flash
-#- --length-- ---------date/time----------- -------------------path--------------------
2 2097152 Feb 16 2014 11:38:46.0 +00:00 nvram_config
4 4096 Jan 28 2014 17:25:50.0 +00:00 mnt
5 4096 Jan 28 2014 17:25:50.0 +00:00 mnt/images
6 4096 Jan 28 2014 17:25:52.0 +00:00 mnt/images/ap.bak
7 40 Oct 03 2013 05:02:21.0 +00:00 mnt/images/ap.bak/ap1g2.md5
8 11591680 Oct 03 2013 05:02:21.0 +00:00 mnt/images/ap.bak/ap1g2
9 40 Oct 03 2013 05:02:21.0 +00:00 mnt/images/ap.bak/ap3g1.md5
10 10444800 Oct 03 2013 05:02:21.0 +00:00 mnt/images/ap.bak/ap3g1
11 40 Oct 03 2013 05:02:21.0 +00:00 mnt/images/ap.bak/ap3g2.md5
12 13568000 Oct 03 2013 05:02:21.0 +00:00 mnt/images/ap.bak/ap3g2
13 40 Oct 03 2013 05:02:21.0 +00:00 mnt/images/ap.bak/c1140.md5
14 10291200 Oct 03 2013 05:02:21.0 +00:00 mnt/images/ap.bak/c1140
15 11 Oct 03 2013 05:02:21.0 +00:00 mnt/images/ap.bak/version.info
16 1248 Feb 16 2014 11:27:51.0 +00:00 packages.conf
17 796 Feb 19 2014 11:43:13.0 +00:00 vlan.dat
18 6571 Dec 20 2013 08:56:32.0 +00:00 BLANK_CONFIG.cfg
20 79113792 Feb 16 2014 11:27:46.0 +00:00 cat3k_caa-base.SPA.03.03.01SE.pkg
21 6476476 Feb 16 2014 11:27:46.0 +00:00 cat3k_caa-drivers.SPA.03.03.01SE.pkg
22 34503664 Feb 16 2014 11:27:46.0 +00:00 cat3k_caa-infra.SPA.03.03.01SE.pkg
23 34788684 Feb 16 2014 11:27:46.0 +00:00 cat3k_caa-iosd-universalk9.SPA.150-1.EZ1.pkg
24 25009040 Feb 16 2014 11:27:46.0 +00:00 cat3k_caa-platform.SPA.03.03.01SE.pkg
25 77296448 Feb 16 2014 11:27:46.0 +00:00 cat3k_caa-wcm.SPA.10.1.110.0.pkg
1231515648 bytes available (308060160 bytes used)[an error occurred while processing this directive]
Existen muchos escenarios donde debe introducirse un switch nuevo en un grupo de switches de la serie Catalyst 3850, por ejemplo, al comprar un switch nuevo para ampliar la cantidad de puertos utilizables. Para agregar un nuevo switch de forma correcta a la pila, asegúrese de que se ejecute la misma versión de software en el nuevo switch. Antes de la versión 3.3.1 de IOS XE, la única manera de garantizar que las versiones coincidieran era probar el switch antes de introducirlo en el grupo.
Los switches Catalyst de la serie 3850 incluyen una función denominada Auto-Upgrade (Actualización automática) que ya debe conocer si su migración se realiza desde la plataforma Catalyst serie 3750. El objetivo de esta función es garantizar que el switch recién agregado sea automáticamente aprovisionado por los miembros de la pila con la versión correcta de IOS-XE. No obstante, hay que destacar que esto no funciona con las versiones anteriores a la 3.3.1 (ID de referencia de fallo de Cisco CSCui69999). Por ende, asegúrese de que en su grupo de switches se use de la versión 3.3.1 en adelante en el modo de INSTALACIÓN.
Nota: La actualización automática está deshabilitada de forma predeterminada y nos está disponible en modo BUNDLE.
Para poder utilizar la función de actualización automática, agregue el comando software auto-upgrade enable (habilitar actualización automática de software) dentro de la configuración de la pila actual. Esto garantiza que cualquier miembro de pila recientemente agregado se actualice automáticamente.
Tras agregar y arrancar el switch, se ve una indicación clara de que las versiones no coinciden, y no se agrega el nuevo switch al grupo. Si mira el SYSLOG cuando el switch intenta integrarse, verá que la función de actualización automática avisa que el switch tiene otra versión de software y otro modo.
Nota: En este ejemplo, el switch nuevo tiene la versión 3.2.2 de IOS XE en modo de PAQUETE.
%STACKMGR-1-STACK_LINK_CHANGE: STANDBY: 1 stack-mgr:[an error occurred while processing this directive]
Stack port 2 on switch 1 is up (3850-Stack-1)
%STACKMGR-1-STACK_LINK_CHANGE: 2 stack-mgr:
Stack port 1 on switch 2 is up
%STACKMGR-6-SWITCH_ADDED: 2 stack-mgr:
Switch 3 has been added to the stack.
%STACKMGR-6-SWITCH_ADDED: STANDBY:1 stack-mgr:
Switch 3 has been added to the stack. (3850-Stack-1)
%INSTALLER-6-AUTO_ADVISE_SW_INITIATED: 2 installer:
Auto advise initiated for switch 3
%INSTALLER-6-AUTO_ADVISE_SW: 2 installer:
Switch 3 running bundled software has been added
%INSTALLER-6-AUTO_ADVISE_SW: 2 installer:
to the stack that is running installed software.
%INSTALLER-6-AUTO_ADVISE_SW: 2 installer:
The 'software auto-upgrade' command can be used to
%INSTALLER-6-AUTO_ADVISE_SW: 2 installer:
convert switch 3 to the installed running mode by
%INSTALLER-6-AUTO_ADVISE_SW: 2 installer:
installing its running software.
Una vez que el nuevo miembro incorporado se haya iniciado por completo, observará que se detectó una discordancia:
3850-Stack#
show switch
[an error occurred while processing this directive]
Switch/Stack Mac Address : 0c27.24cf.ab80 - Local Mac Address
Mac persistency wait time: Indefinite
H/W Current
Switch# Role Mac Address Priority Version State
------------------------------------------------------------
*1 Active 0c27.24cf.ab80 14 B0 Ready
2 Standby f41f.c238.a800 13 B0 Ready
3 Member b4e9.b0d3.6600 12 0 V-Mismatch
En modo Global Configuration (Configuración global), introduzca el comando software auto-upgrade enable (habilitar actualización automática de software). Así se activa la función para los nuevos switches que se sumen al grupo.
3850-Stack(config)
#
software auto-upgrade enable
3850-Stack(config)
#
end[an error occurred while processing this directive]
Debe volver a cargar únicamente el switch recientemente agregado; no es necesario una recarga completa. En este caso, el switch nuevo es el número 3, por lo cual se introduce el comando reload slot 3.
Consejo: En estos comandos, por slot (ranura) se entiende el switch del grupo (slot 1 = switch 1).
3850-Stack#
reload slot 3
Proceed with reload?
[confirm]
[an error occurred while processing this directive]
%STACKMGR-1-RELOAD_REQUEST: 1 stack-mgr:
Received reload request for switch 3, reason Reload Slot Command
%STACKMGR-1-STACK_LINK_CHANGE: 1 stack-mgr:
Stack port 2 on switch 1 is down
%STACKMGR-6-SWITCH_REMOVED: 1 stack-mgr:
Switch 3 has been removed from the stack.
%STACKMGR-1-STACK_LINK_CHANGE: STANDBY:
2 stack-mgr: Stack port 1 on switch 2 is down (3850-Stack-2)
Starting SWITCH-DELETE sequence, switch 3
SWITCH-DELETE sequence complete, switch 3
%STACKMGR-6-SWITCH_REMOVED: STANDBY:2 stack-mgr:
Switch 3 has been removed from the stack. (3850-Stack-2)
Starting SWITCH-DELETE sequence, switch 3 (3850-Stack-2)
SWITCH-DELETE sequence complete, switch 3 (3850-Stack-2)
Aguarde unos minutos mientras el switch se vuelve a cargar en segundo plano. Luego verá esto:
%STACKMGR-1-STACK_LINK_CHANGE: 1 stack-mgr:[an error occurred while processing this directive]
Stack port 2 on switch 1 is up
3850-Stack#
%STACKMGR-1-STACK_LINK_CHANGE: STANDBY:2 stack-mgr:
Stack port 1 on switch 2 is up (3850-Stack-2)
3850-Stack#
%STACKMGR-6-SWITCH_ADDED: 1 stack-mgr:
Switch 3 has been added to the stack.
%STACKMGR-6-SWITCH_ADDED: STANDBY:2 stack-mgr:
Switch 3 has been added to the stack. (3850-Stack-2)
Se produce la conversión del modo de PAQUETE al de INSTALACIÓN y luego se vuelve a cargar:
%INSTALLER-6-AUTO_UPGRADE_SW_INITIATED: 1 installer:[an error occurred while processing this directive]
Auto upgrade initiated for switch 3
%INSTALLER-6-AUTO_UPGRADE_SW: 1 installer:
Converting switch 3 to installed mode by
%INSTALLER-6-AUTO_UPGRADE_SW: 1 installer:
installing its running software
%INSTALLER-6-AUTO_UPGRADE_SW: 1 installer:
Setting the boot var on switch 3
%INSTALLER-6-AUTO_UPGRADE_SW: 1 installer:
Finished installing the running software on switch 3
%INSTALLER-6-AUTO_UPGRADE_SW: 1 installer:
Reloading switch 3 to boot in installed mode
%STACKMGR-1-RELOAD_REQUEST: 1 stack-mgr:
Received reload request for switch 3, reason Auto upgrade
%STACKMGR-1-STACK_LINK_CHANGE: 1 stack-mgr:
Stack port 2 on switch 1 is down
%STACKMGR-6-SWITCH_REMOVED: 1 stack-mgr:
Switch 3 has been r
3850-Stack#emoved from the stack.
%STACKMGR-1-STACK_LINK_CHANGE: STANDBY:2 stack-mgr:
Stack port 1 on switch 2 is down (3850-Stack-2)
Starting SWITCH-DELETE sequence, switch 3
SWITCH-DELETE sequence complete, switch 3
%STACKMGR-6-SWITCH_REMOVED: STANDBY:2 stack-mgr:
Switch 3 has been removed from the stack. (3850-Stack-2)
3850-Stack#
Starting SWITCH-DELETE sequence, switch 3 (3850-Stack-2)
SWITCH-DELETE sequence complete, switch 3 (3850-Stack-2)
Después del reinicio, la actualización continúa:
%INSTALLER-6-AUTO_UPGRADE_SW_INITIATED: 1 installer:[an error occurred while processing this directive]
Auto upgrade initiated for switch 3
%INSTALLER-6-AUTO_UPGRADE_SW: 1 installer:
Searching stack for software to upgrade switch 3
%INSTALLER-6-AUTO_UPGRADE_SW: 1 installer:
Found donor switch 1 to auto upgrade switch 3
%INSTALLER-6-AUTO_UPGRADE_SW: 1 installer:
Upgrading switch 3 with software from switch 1
%INSTALLER-6-AUTO_UPGRADE_SW: 1 installer:
Finished installing software on switch 3
%INSTALLER-6-AUTO_UPGRADE_SW: 1 installer:
Reloading switch 3 to complete the auto upgrade
%STACKMGR-1-RELOAD_REQUEST: 1 stack-mgr:
Received reload request for switch 3, reason Auto upgrade
%STACKMGR-1-STACK_LINK_CHANGE: 1 stack-mgr:
Stack port 2 on switch 1 is down
%STACKMGR-6-SWITCH_REMOVED: 1 stack-mgr:
Switch 3 has been removed from the stack.
%STACKMGR-1-STACK_LINK_CHANGE: STANDBY:2 stack-mgr:
Stack port
3850-Stack#t 1 on switch 2 is down (3850-Stack-2)
Starting SWITCH-DELETE sequence, switch 3
SWITCH-DELETE sequence complete, switch 3
%STACKMGR-6-SWITCH_REMOVED: STANDBY:2 stack-mgr:
Switch 3 has been removed from the stack. (3850-Stack-2)
Otra recarga se realiza automáticamente. Tras arrancar, el switch se integra al grupo con la versión de IOS XE y el modo de software correctos.
%STACKMGR-6-SWITCH_ADDED: 1 stack-mgr:[an error occurred while processing this directive]
Switch 3 has been added to the stack.
%STACKMGR-6-SWITCH_ADDED: STANDBY:2 stack-mgr:
Switch 3 has been added to the stack. (3850-Stack-2)
%STACKMGR-6-SWITCH_READY: STANDBY:2 stack-mgr:
Switch 3 is ready. (3850-Stack-2)
%STACKMGR-6-SWITCH_READY: 1 stack-mgr: Switch 3 is ready.
Starting SWITCH-ADD sequence, switch 3
%NGWC_USB_CONSOLE-6-CONFIG_ENABLE: Switch 3:
Console media-type changed to default
Starting SWITCH-ADD sequence, switch 3 (3850-Stack-2)
SWITCH-ADD sequence complete, switch 3 (3850-Stack-2)
SWITCH-ADD sequence complete, switch 3
Emplee los comandos show switch y show version para verificar que el proceso de actualización se haya completado correctamente:
3850-Stack#
show switch
Switch/Stack Mac Address : 0c27.24cf.ab80 - Local Mac Address
Mac persistency wait time: Indefinite
H/W Current
Switch# Role Mac Address Priority Version State
------------------------------------------------------------
*1 Active 0c27.24cf.ab80 14 B0 Ready
2 Standby f41f.c238.a800 13 B0 Ready
3 Member b4e9.b0d3.6600 12 B0 Ready
3850-Stack#
show version
[an error occurred while processing this directive]
Switch Ports Model SW Version SW Image Mode
------ ----- ----- ---------- ---------- ----
* 1 56 WS-C3850-48P 03.03.01SE cat3k_caa-universalk9 INSTALL
2 56 WS-C3850-48P 03.03.01SE cat3k_caa-universalk9 INSTALL
3 56 WS-C3850-48P 03.03.01SE cat3k_caa-universalk9 INSTALL
Existen varios motivos por los que puede surgir un fallo de arranque en los switches de la serie 3850, como algún daño en la imagen de arranque o el archivo packages.conf, o la ausencia de archivos. En esta sección, se describen los métodos de recuperación posibles.
Nota: Antes de continuar, asegúrese de conocer los dos modos de arranque posibles: el de INSTALACIÓN y el de PAQUETE.
En esta sección se describen los dos métodos estándar utilizados para recuperar switches de la serie Catalyst 3850 tras fallos de arranque.
Los switches de la serie 3850 tienen en la parte frontal un puerto USB para el acceso a la consola. Este puerto USB se utiliza también con unidades flash para la recuperación y copias de seguridad de imágenes.
Si el switch queda trabado en el símbolo del sistema con una imagen o un archivo .conf dañado, usted puede arrancarlo fácilmente con un archivo guardado en la unidad USB, o copiar una imagen de la unidad USB en la memoria flash interna. Siga estos pasos para recuperar el switch tras un fallo de arranque:
switch:
dir usbflash0:
[an error occurred while processing this directive]
Directory of usbflash0:/
74 -rw- 223734376 cat3k_caa-universalk9.SPA.03.03.00.SE.150-1.EZ.bin
switch:
boot usbflash0:cat3k_caa-universalk9.SPA.03.03.00.SE.150-1.EZ.bin[an error occurred while processing this directive]
Nota: En este proceso, el switch arranca en el modo de PAQUETE.
Consejo: También puede copiar el archivo .bin desde usbflash0: a flash:, y apunte la sentencia boot hacia la memoria flash interna.
Existen instancias en las que los archivos de llamadas packages.conf ya no existen en la memoria flash. Puede arrancar manualmente con una imagen desde el símbolo del sistema del switch; sin embargo, al volver a cargar, vuelve a llamar al archivo packages.conf y no se puede iniciar. Si esto ocurre, Cisco recomienda realizar una copia de seguridad del archivo packages.conf actual y renombrarlo o eliminarlo. Este proceso es obligatorio, ya que el siguiente paso falla si ya existe un archivo .conf. Una vez que extraiga el archivo .bin, se crea un nuevo archivo packages.conf. Siga estos pasos para recuperar el switch si está dañado el archivo packages.conf:
Switch#
dir flash:
[an error occurred while processing this directive]
Directory of flash:/
15500 -rwx 1243 Aug 1 2013 07:04:02 +00:00 packages.conf
Switch#
cp flash:packages.conf flash:packages.conf.badop
Destination filename [packages.conf.bad]?
Copy in progress...C
1243 bytes copied in 0.140 secs (8879 bytes/sec)
Switch#
dir flash:
Directory of flash:/
15500 -rwx 1243 Aug 1 2013 07:04:02 +00:00 packages.conf
15502 -rw- 1243 Aug 1 2013 11:53:51 +00:00 packages.conf.bad
Switch#
del flash:packages.conf
[an error occurred while processing this directive]
Delete filename [packages.conf]?
Delete flash:/packages.conf? [confirm]
Switch#
software expand running switch 1 to flash:
[an error occurred while processing this directive]
Preparing expand operation ...
[1]: Expanding the running bundle
[1]: Copying package files
[1]: Package files copied
[1]: Finished expanding the running bundle
Switch#
show boot
[an error occurred while processing this directive]
---------------------------
Switch 1
---------------------------
Current Boot Variables:
BOOT variable does not exist
Boot Variables on next reload:
BOOT variable = flash:packages.conf;
Manual Boot = no
Enable Break = no
Switch#
reload
[an error occurred while processing this directive]
Reload command is being issued on Active unit, this will reload the whole stack
Proceed with reload? [confirm]
Si el método anterior fracasa, puede utilizar la escotilla que traen los switches de la serie 3850 para recuperar el sistema. Debe tener una terminal conectada al puerto de administración del switch que funcione con un servidor TFTP. Descargue un archivo de imagen válido de CCO y guárdelo en la raíz del servidor TFTP.
Es probable que el switch esté atascado en el switch: mensaje No obstante, si está en un bucle de arranque, puede emplear el botón de modo de la parte frontal del switch para salir del bucle: Mantenga presionado el botón durante aproximadamente diez segundos; el switch interrumpirá el ciclo y se detendrá en el switch: mensaje
Siga estos pasos para llevar a cabo una recuperación de emergencia:
switch:
set IP_ADDR 192.0.2.123/255.255.255.0[an error occurred while processing this directive]
switch:
set DEFAULT_ROUTER 192.0.2.1[an error occurred while processing this directive]
switch:
ping 192.0.2.1
[an error occurred while processing this directive]
ping 192.0.2.1 with 32 bytes of data ...
Host 192.0.2.1 is alive.
switch:
dir sda9:
[an error occurred while processing this directive]
Directory of sda9:/
2 drwx 1024 .
2 drwx 1024 ..
11 -rwx 18958824 cat3k_caa-recovery.bin
36903936 bytes available (20866048 bytes used)
switch:
emergency-install tftp://192.0.2.1/cat3k_caa-universalk9.
SPA.03.03.00.SE.150-1.EZ.bin
[an error occurred while processing this directive]
The bootflash will be erased during install operation, continue (y/n)?Y
Starting emergency recovery (tftp://192.0.2.1/cat3k_caa-universalk9.
SPA.03.02.02.SE.150-1.EX2.bin)...
Reading full image into memory......................done
Nova Bundle Image
--------------------------------------
Kernel Address : 0x6042f5d8
Kernel Size : 0x317ccc/3243212
Initramfs Address : 0x607472a4
Initramfs Size : 0xdc6546/14443846
Compression Format: .mzip
Bootable image at @ ram:0x6042f5d8
Bootable image segment 0 address range [0x81100000, 0x81b80000]
is in range [0x80180000, 0x90000000].
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@
File "sda9:cat3k_caa-recovery.bin" uncompressed and installed,
entry point: 0x811060f0
Loading Linux kernel with entry point 0x811060f0 ...
Bootloader: Done loading app on core_mask: 0xf
### Launching Linux Kernel (flags = 0x5)
Initiating Emergency Installation of bundle tftp://192.0.2.1/
cat3k_caa-universalk9.SPA.03.03.00.SE.150-1.EZ.bin
Downloading bundle tftp://192.0.2.1/ cat3k_caa-universalk9.
SPA.03.03.00.SE.150-1.EZ.bin...
Validating bundle tftp://192.0.2.1/ cat3k_caa-universalk9.
SPA.03.03.00.SE.150-1.EZ.bin...
Installing bundle tftp://192.0.2.1/ cat3k_caa-universalk9.
SPA.03.03.00.SE.150-1.EZ.bin...
Verifying bundle tftp://192.0.2.1/ cat3k_caa-universalk9.
SPA.03.03.00.SE.150-1.EZ.bin...
Package cat3k_caa-base.SPA.03.03.00.SE.pkg is Digitally Signed
Package cat3k_caa-drivers.SPA.03.03.00.SE.pkg is Digitally Signed
Package cat3k_caa-infra.SPA.03.03.00.SE.pkg is Digitally Signed
Package cat3k_caa-iosd-universalk9.SPA.150-1.EX2.pkg is Digitally Signed
Package cat3k_caa-platform.SPA.03.03.00.SE.pkg is Digitally Signed
Package cat3k_caa-wcm.SPA.10.0.111.0.pkg is Digitally Signed
Preparing flash...
Syncing device...
Emergency Install successful... Rebooting
Restarting system.