Actualizar La IOS de Un Router Cisco

Post on 14-Sep-2015

2 views 0 download

description

interesting

Transcript of Actualizar La IOS de Un Router Cisco

Actualizar la IOS de un router Cisco

Actualizar la IOS de un router Cisco

Solucin

Para actualizar la IOS de un router Cisco hay que hacerlo conectado por red y por consola al router. Si alguna vez nos encontramos en el caso de que la configuracin no se guarda haciendo "wr mem" (se guarda pero cuando se resetea el router no esta guardada), seguramente sea porque la "configuration register" es la "0x2142" en vez de la que tiene que ser la "0x2102". Poniendo esta ltima se solucionara.Para subir IOS de tftp a flash

Ibercom#copy tftp: flash:Address or name of remote host []? 192.168.69.165Source filename []? c820-y6-mz.122-8.t5.binDestination filename [c820-y6-mz.122-8.t5.bin]?Accessing tftp://192.168.69.165/c820-y6-mz.122-8.t5.bin...Erase flash: before copying?Erasing the flash filesystem will remove all files! Continue?Para hacer backup de IOS

Ibercom#copy flash: tftp:Address or name of remote host []? 192.168.2.165Source filename []? c820-y6-mz.122-8.t5.binDestination filename [c820-y6-mz.122-8.t5.bin]?Accessing tftp://192.168.2.165/c820-y6-mz.122-8.t5.bin...Si no tiene ninguna IOS guardada (Error device does not contain a valid magic number)

romon 1>IP_ADDRESS=192.168.69.185 romon 2>IP_SUBNET_MASK=255.255.255.0romon 3>DEFAULT_GATEWAY=192.168.69.1romon 4>TFTP_SERVER=192.168.69.165romon 5>TFTP_FILE=c820-y6-mz.122-8.t5.binromon 6> set

IP_ADDRESS=192.168.69.185IP_SUBNET_MASK=255.255.255.0DEFAULT_GATEWAY=192.168.69.1TFTP_SERVER=192.168.69.165TFTP_FILE=c820-y6-mz.122-8.t5.bin

Con el comando "set del romon 6" sacamos los datos para ver si son correctos.

romon 7> tftpdnld

IP_ADDRESS: 192.168.69.185 IP_SUBNET_MASK: 255.255.255.0 DEFAULT_GATEWAY: 192.168.69.1 TFTP_SERVER: 192.168.69.165 TFTP_FILE: c820-y6-mz.122-8.t5.bin

Invoke this command for disaster recovery only.WARNING: all existing data in all partitions on flash will be lost!Do you wish to continue? y/n: [n]: ponemos "y"

Receiving c820-y6-mz.122-8.t5.bin from 192.168.69.165 !!!!!!!!!!!!!!!!!!!!!!!!!!File reception completed.Copying file c820-y6-mz.122-8.t5.bin to flash.Erasing flash ................................................................Programming flash .............................Roamin 8> reset

En primer lugar se descarga desde el servidor "tftp" el fichero ".bin", luego borra la flash, y por ltimo copia en la flash el fichero ".bin".

Una vez hecho esto hay que reiniciar el router, y debera arrancar desde la flash.