Restauration de l’IOS d’un routeur Cisco 2811

J’ai eu un problème avec le compact flash d’un de mes routeurs et je veux restorer l’IOS, je suppose que mon serveur tftp est déjà opérationnel et que mon IOS de backup est disponible. C’est en moins de 9 étapes !!
Voici les paramètres dans :
– ip du premier interface ethernet dans mon cas c’est Fe0/0 : 192.168.0.251/24
– ip de mon serveur tftp 192.168.0.252
– un gateway qui est obligatoire meme si le routeur et le serveur est dans le meme réseau


Welcome to minicom 2.4OPTIONS: I18n
Compiled on May 27 2010, 00:26:12.
Port /dev/ttyUSB0Press CTRL-A Z for help on special keys

System Bootstrap, Version 12.4(13r)T11, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 2009 by cisco Systems, Inc.

Initializing memory for ECC
.
c2811 platform with 262144 Kbytes of main memory
Main memory is configured to 64 bit mode with ECC enabled

Upgrade ROMMON initialized
program load complete, entry point: 0x8000f000, size: 0xcb80
program load complete, entry point: 0x8000f000, size: 0xcb80
loadprog: error - Invalid image for platform
e_machine = 134, cpu_type = 135
boot: cannot load "flash:"
c2811 platform with 262144 Kbytes of main memory
Main memory is configured to 64 bit mode with ECC enabled

Upgrade ROMMON initialized
program load complete, entry point: 0x8000f000, size: 0xcb80
program load complete, entry point: 0x8000f000, size: 0xcb80
loadprog: error - Invalid image for platform
e_machine = 134, cpu_type = 135
boot: cannot load "flash:"
c2811 platform with 262144 Kbytes of main memory
Main memory is configured to 64 bit mode with ECC enabled

Upgrade ROMMON initialized
Entering rommon> prompt after several failed attempts to boot an IOS image.
Please check your internal/external flash drives for the correct IOS image
and issue 'reset' at the rommon> prompt to re-try the boot process.
rommon 1 > IP_ADDRESS=192.168.0.251
rommon 2 > IP_SUBNET_MASK=255.255.255.0
rommon 3 > DEFAULT_GATEWAY=192.168.0.69
rommon 4 > TFTP_SERVER=192.168.0.252
rommon 5 > TFTP_FILE=c2800nm-advipservicesk9-mz.124-11.T2.bin
rommon 6 > tftpdnld

IP_ADDRESS: 192.168.0.251
IP_SUBNET_MASK: 255.255.255.0
DEFAULT_GATEWAY: 192.168.0.69
TFTP_SERVER: 192.168.0.252
TFTP_FILE: c2800nm-advipservicesk9-mz.124-11.T2.bin
TFTP_VERBOSE: Progress
TFTP_RETRY_COUNT: 18
TFTP_TIMEOUT: 7200
TFTP_CHECKSUM: Yes
TFTP_MACADDR: 00:25:45:d2:ed:98
FE_PORT: Fast Ethernet 0
FE_SPEED_MODE: Auto

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]: y
.
Receiving c2800nm-advipservicesk9-mz.124-11.T2.bin from 192.168.0.252 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
File reception completed.
Validating checksum.
Copying file c2800nm-advipservicesk9-mz.124-11.T2.bin to flash:.
program load complete, entry point: 0x8000f000, size: 0xcb80

Format: All system sectors written. OK...
Format: Operation completed successfully.

Format of flash: complete
program load complete, entry point: 0x8000f000, size: 0xcb80

rommon 7 > dir flash:
program load complete, entry point: 0x8000f000, size: 0xcb80
Directory of flash:

2 39835176 -rw- c2800nm-advipservicesk9-mz.124-11.T2.bin

rommon 8 > confreg 0x2102
rommon 9 > boot flash:
program load complete, entry point: 0x8000f000, size: 0xcb80
program load complete, entry point: 0x8000f000, size: 0xcb80

program load complete, entry point: 0x8000f000, size: 0x25fd488
Self decompressing the image : #####################################

Laisser un commentaire

Entrez vos coordonnées ci-dessous ou cliquez sur une icône pour vous connecter:

Logo WordPress.com

Vous commentez à l'aide de votre compte WordPress.com. Déconnexion / Changer )

Image Twitter

Vous commentez à l'aide de votre compte Twitter. Déconnexion / Changer )

Photo Facebook

Vous commentez à l'aide de votre compte Facebook. Déconnexion / Changer )

Photo Google+

Vous commentez à l'aide de votre compte Google+. Déconnexion / Changer )

Connexion à %s