¿Tiene una cuenta?
Esta página describe cómo actualizar un router desde el mensaje del monitor ROM (ROMmon) con la funcionalidad TFTP de la imagen de inicio.
No hay requisitos específicos para este documento.
Este documento no tiene restricciones específicas en cuanto a versiones de software y de hardware.
La imagen de inicio es un subconjunto del Cisco IOS® Software que se utiliza para descargar las imágenes principales del Cisco IOS Software al router usando TFTP en situaciones de recuperación. El usuario puede interactuar con esta imagen a través de una interfaz de línea de comandos representada por el Router de mensaje (boot)#. Algunas plataformas (Cisco 1600, 2500) lo tienen en ROM; otros (routers de mayor capacidad) la tienen en la memoria flash de inicio. Esta imagen se puede denominar imagen xboot, imagen rxboot, imagen bootstrap, o cargador de arranque o imagen auxiliar, que depende de su plataforma.
La imagen de inicio tiene capacidades limitadas. Por ejemplo, no contiene información de ruteo.
Advertencia: Nunca guarde la configuración mientras está en modo de inicio, ya que parte de la configuración (como la parte de ruteo) se pierde si se guarda de esta manera.
Si el router contiene una imagen de inicio válida, puede usarse para descargar una imagen válida del software del IOS de Cisco en la Flash utilizando TFTP. Para hacerlo, realice estos pasos:
Para cambiar el registro de la configuración para que inicie la imagen de inicio, establezca el registro de configuración de la siguiente forma (dependiendo del indicador que tenga):
rommon 1 > confreg 0x2101 or > o/r 0x2101 You must reset or power cycle for the new configuration to take effect. !--- This is the router output when a configuration register command is entered.
El registro de configuración se ha cambiado ahora para iniciar la imagen de inicio.
Inicie la imagen de inicio reseteando el router.
rommon 2 > reset or > i
El mensaje de Inicio del sistema aparece y el router reinicia su imagen de reinicio. En la pantalla, usted debería ver algo como esto:
System Bootstrap, Version 11.1(10)AA, EARLY DEPLOYMENT RELEASE SOFTWARE (fc1) Copyright (c) 1997 by cisco Systems, Inc. C1600 processor with 18432 Kbytes of main memory program load complete, entry point: 0x4018060, size: 0x1e1568 Restricted Rights Legend . . !--- Output omitted. . . Router(boot)>
Usted debería tener ahora un aviso similar a Router(boot)>.
Si aún se encuentra en ROMmom, significa que su imagen del inicio del sistema falta o está dañada. Si su router no tiene una imagen válida en Flash o Bootflash, y ningún otro procedimiento de actualización ROMmon, la única manera de recuperarse es tener un router similar con una tarjeta Flash compatible, descargar la imagen en ese router y luego mover la tarjeta Flash al que está atascada.
Verifique la Matriz de Compatibilidad del Sistema de Archivos PCMCIA e Información del Sistema de Archivos para obtener información de compatibilidad de tarjetas Flash.
Conecte la interfaz Ethernet 0 del router a la red, a través de la cual puede alcanzar el servidor TFTP. Configure la dirección IP en la interfaz Ethernet del router.
Router(boot)>enable Router(boot)#configure terminal Router(boot)(config)#interface ethernet 0 Router(boot)(config-if)#ip address 10.77.241.160 255.255.255.0 Router(boot)(config-if)#no shutdown
Los routers que ejecutan imágenes de inicio no tienen capacidades de ruteo. Por lo tanto, se debe configurar una gateway predeterminada para este router. Ejecute el comando de configuración global ip default-gateway para establecer el gateway predeterminado apropiado para este router. Esto debe apuntar a la dirección IP del router conectado a la misma subred que su interfaz Ethernet 0.
Router(boot)(config)#ip default-gateway 10.77.241.129
Antes de copiar la imagen de Cisco IOS del servidor TFTP, asegúrese de que el router tenga conectividad con el servidor TFTP.
Router(boot)#ping 10.77.233.94 Type escape sequence to abort. Sending 5, 100-byte ICMP Echoes to 10.77.233.94, timeout is 2 seconds: .!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 4/4/4 ms Router(boot)#
Copie la imagen de Cisco IOS del servidor TFTP a la memoria Flash en el router.
Router(boot)#copy tftp flash PCMCIA flash directory: No files in PCMCIA flash [0 bytes used, 16777216 available, 16777216 total] Address or name of remote host [255.255.255.255]? 10.77.233.94 !--- Enter the IP address of the TFTP Server. Source file name? c1600-y-l.122-10d.bin !--- This is the filename of the Cisco IOS image that you want to copy from !--- the TFTP server. Destination file name [c1600-y-l.122-10d.bin]? !--- Press 'Enter'. Accessing file 'c1600-y-l.122-10d.bin' on 10.77.233.94... Loading c1600-y-l.122-10d.bin from 10.77.233.94 (via Ethernet0): ! [OK] Device needs erasure before copying new file Erase flash device before writing? [confirm]y !--- Press 'y' or 'Enter'. !--- On Class B Flash file systems, the router gives you the option of erasing !--- the existing contents of Flash memory before writing to it. If no free Flash !--- memory is available, or if no files have ever been written to Flash memory, !--- the erase routine is required before new files can be copied. If there is !--- enough free Flash memory, the router gives you the option of erasing the !--- existing Flash memory before writing to it. The system will inform you !--- of these conditions and prompt you for a response. !--- If you enter 'n' after the "Erase flash before writing?" prompt, the copy !--- process continues. If you enter 'y' and confirm the erasure, the erase !--- routine begins. Make sure to have ample Flash memory space before entering "n" !--- at the erasure prompt. Copy 'c1600-y-l.122-10d.bin' from server as 'c1600-y-l.122-10d.bin' into Flash WITH erase? [yes/no]yes !--- Entering 'yes' erases all the files in Flash. Erasing device... eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee ...erased Loading c1600-y-l.122-10d.bin from 10.77.233.94 (via Ethernet0): !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!! [OK - 7220632/16777216 bytes]Verifying checksum... OK (0x6526) Flash device copy took 00:05:57 [hh:mm:ss] Router(boot)#
Vuelva a cambiar el valor del registro de configuración a 2102 para que el router inicie con la imagen del IOS de Cisco recientemente descargada durante la próxima recarga.
Router(boot)#configure terminal Router(boot)(config)#config-register 0x2102 Router(boot)(config)#exit Router(boot)#
Recargue el router ejecutando el comando reload.
Router(boot)#reload System configuration has been modified. Save? [yes/no]: no Building configuration... [OK] Proceed with reload? [confirm] !--- Press 'Enter'. %SYS-5-RELOAD: Reload requested System Bootstrap, Version 11.1(10)AA, EARLY DEPLOYMENT RELEASE SOFTWARE (fc1) Copyright (c) 1997 by cisco Systems, Inc. C1600 processor with 18432 Kbytes of main memory program load complete, entry point: 0x4018060, size: 0x1e1568 . . !--- Output omitted. . . Router>
Para verificar si la imagen correcta se ha cargado en el router, verifique la versión de imagen del IOS de Cisco en el router mediante la ejecución del comando show version.
Router>show version Cisco Internetwork Operating System Software IOS (tm) 1600 Software (C1600-Y-L), Version 12.2(10d), RELEASE SOFTWARE (fc1) Copyright (c) 1986-2003 by cisco Systems, Inc. Compiled Wed 14-May-03 01:04 by pwade Image text-base: 0x0803A510, data-base: 0x02005000 ROM: System Bootstrap, Version 11.1(10)AA, EARLY DEPLOYMENT RELEASE SOFTWARE (fc1) ROM: 1600 Software (C1600-BOOT-R), Version 11.1(10)AA, EARLY DEPLOYMENT RELEASE SOFTWARE (fc1) 1603 uptime is 19 hours, 26 minutes System returned to ROM by reload System image file is "flash:c1600-y-l.122-10d.bin" cisco 1603 (68360) processor (revision C) with 13824K/4608K bytes of memory. Processor board ID 10240382, with hardware revision 00000000 Bridging software. X.25 software, Version 3.0.0. Basic Rate ISDN software, Version 1.1. 1 Ethernet/IEEE 802.3 interface(s) 1 ISDN Basic Rate interface(s) System/IO memory with parity disabled 2048K bytes of DRAM onboard 16384K bytes of DRAM on SIMM System running from FLASH 7K bytes of non-volatile configuration memory. 16384K bytes of processor board PCMCIA flash (Read ONLY) Configuration register is 0x2102 Router>
Ahora está ejecutando la nueva imagen del IOS de Cisco que ha sido cargada desde un servidor TFTP.
Revisión | Fecha de publicación | Comentarios |
---|---|---|
1.0 |
27-Jan-2006 |
Versión inicial |