Cargar IOS Router Cisco en Modo Rommon

Embed Size (px)

Citation preview

  • 7/28/2019 Cargar IOS Router Cisco en Modo Rommon

    1/4

    Cargar IOS Router Cisco en modo Rommon

    rommon 1 > IP_ADDRESS=192.168.111.1

    rommon 2 > TFTP_FILE=c2600-js-mz.122-29.bin

    rommon 3 > DEFAULT_GATEWAY=192.168.111.254

    rommon 4 > IP_SUBNET_MASK=255.255.255.0rommon 5 > TFTP_SERVER=192.168.111.254

    rommon 6 > tftpdnld

    IP_ADDRESS: 192.168.111.1 --> Esta es la IP de tu Router (sin IOS)

    IP_SUBNET_MASK: 255.255.255.0 --> Mascara de Subred

    DEFAULT_GATEWAY: 192.168.111.254 --> Puerta de Enlace o Bien Router Server

    TFTP_SERVER: 192.168.111.254 --> Server router (al que dejaste como server)

    TFTP_FILE: c2600-js-mz.122-29.bin --> Nombre de la IOS (no te equivoques en escribirla)

    Nota: debes escribir los comandos asi.. IP_ADDRESS=10.0.0.1 (con signo = )

    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 c2600-js-mz.122-29.bin from 192.168.111.254

    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!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!!!!!!!!!!!!!!!!!!!!!!

    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    !!!!!!!!!!!!!File reception completed.Copying file c2600-js-mz.122-29.bin to flash.Erasing

    flash at 0x61fc0000program flash location 0x60b80000rommon 7 > confreg 0x2102 --> Aqui

    haces el cambio de configuracion inicial...

    0x2102 --> indica que partira de la ultima configuracion que se guardo.

    0x2142 --> indica que se saltara la configuracion que estuvo guardada en la nvram t partira

    sin configuracion.

    Sirve mucha para quebrar password.

    Para dejar el router como servidor tftp te metes a Conf T y escribes

    tftp-server flash:"IOS"--> nombre de la imagen presiona el tab y te lo completa.

  • 7/28/2019 Cargar IOS Router Cisco en Modo Rommon

    2/4

    rommon 11 > IP_ADDRESS=192.168.1.5

    rommon 12 > IP_SUBNET_MASK=255.255.255.0

    rommon 13 > DEFAULT_GATEWAY=192.168.1.1

    rommon 14 > TFTP_SERVER=192.168.1.10

    rommon 15 > TFTP_FILE=c1841-advipservicesk9-mz.124-13a.bin

    rommon 16 > tftpdnld.

    IP_ADDRESS: 192.168.1.5

    IP_SUBNET_MASK: 255.255.255.0

    DEFAULT_GATEWAY: 192.168.1.1

    TFTP_SERVER: 192.168.1.10

    TFTP_FILE: c1841-advipservicesk9-mz.124-13a.bin

    TFTP_MACADDR: 00:13:80:7b:20:1e

    TFTP_VERBOSE: Progress

    TFTP_RETRY_COUNT: 18

    TFTP_TIMEOUT: 7200

    TFTP_CHECKSUM: Yes

    FE_PORT: 0

    FE_SPEED_MODE: Auto Detect

    .

    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 c1841-advipservicesk9-mz.124-13a.bin from 192.168.1.10

    !!!!!!!!!!!!!!!

    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    !!!!!

    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    ....

    File reception completed.

    Validating checksum.

    Copying file c1841-advipservicesk9-mz.124-13a.bin to flash.

    program load complete, entry point: 0x8000f000, size: 0xc100

    .

    Initializing ATA monitor library.......

    .

    Format: Drive communication & 1st Sector Write OK...

    Writing Monlib sectors.

    ...........................................................................

    .....

    ..................

    Monlib write complete

    Format: All system sectors written. OK...

    Format: Operation completed successfully.

    Format of flash: complete

    program load complete, entry point: 0x8000f000, size: 0xc100

    Initializing ATA monitor library.......

    rommon 17 >

  • 7/28/2019 Cargar IOS Router Cisco en Modo Rommon

    3/4

    The tftpdnld ROMmon command recovery procedure fails due to invalid

    syntax or variables

    VERSIN 1

    Core Issue

    The tftpdnld ROM Monitor (ROMmon) recovery procedure must be done in a specific way in order

    to work properly. Inputting the commands with incorrect syntax or variables causes the procedure

    to fail.

    Resolution

    If the tftpdnld ROMmon command recovery procedure fails, verify that the following conditions are

    met:

    The TFTP server is running. The Cisco IOS file is in the root directory of the TFTP server. The filesize of the Cisco IOS image being uploaded is correct. If using Cisco TFTP Server 1.1, deselect the two check boxes in View > Options for logging

    and file transfer progress. If possible, connect directly to the PC running the TFTP server with a crossover cable. The file being uploaded is compatible with hardware and memory requirements. If the router has two built-in Ethernet or fast Ethernet interfaces, always use the first

    interface (usually 0/0). You must use the built-in interface. For example, if a Cisco 1700series router has a WIC-1ENET card installed, the tftpdnld ROMmon command does notwork with that card.

    All variable commands must be upper case. The variable itself is case sensitive as in the caseof a filename, as shown in the following example:

    rommon11>TFTP_FILE=c2600-i-mz.120-7.T.bin

    TFTP_FILE= must be upper case and c2600-i-mz.120-7.T.bin is case sensitive. The DEFAULT_GATEWAY= address should not be the same address as the IP_ADDRESS=

    variable. This causes the process to fail. Set the DEFAULT_GATEWAY= variable to the

    address of the TFTP server.

    The following example shows how to perform a tftpdnld ROMmon command recovery

    procedure with a TFTP server at the 10.1.1.2 address, a 255.255.255.0 subnet mask, and a

    filename of c2600-is-mz.120-7.T.bin.:

    rommon 16 > IP_ADDRESS=10.1.1.1!--- This is the temporary IP address assigned to the router.rommon 17 > IP_SUBNET_MASK=255.255.255.0!--- Same as on the TFTP server.rommon 18 > DEFAULT_GATEWAY=10.1.1.2!--- Use the IP address of the TFTP server.

    rommon 19 > TFTP_SERVER=10.1.1.2!--- TFTP server's IP address.rommon 20 > TFTP_FILE=c2600-is-mz.120-7.T.bin

  • 7/28/2019 Cargar IOS Router Cisco en Modo Rommon

    4/4

    !--- Exact name is case sensitive.rommon 21 > TFTP_CHECKSUM=0!--- This prevents checksum errors with earlier 2600 boot ROMs.rommon 22 > tftpdnld!--- This command must be lower case.IP_ADDRESS: 10.1.1.1

    IP_SUBNET_MASK: 255.255.255.0DEFAULT_GATEWAY: 10.1.1.2TFTP_SERVER: 10.1.1.2TFTP_FILE: c2600-is-mz.120-7.T.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]: y

    Receiving c2600-is-mz.120-7.T.bin from 10.1.1.2!!!!!.!!!!!!!!!!!!!!!!!!!.!!

    File reception completed.Copying file c2600-is-mz.120-7.T to flash.

    Erasing flash at 0x607c0000program flash location 0x60440000rommon 22 >reset