Link to home
Start Free TrialLog in
Avatar of rex68
rex68

asked on

Disaster Recovery on Cisco 837

Dear All,

I have a Cisco 837 ADSL router which has a corrupted IOS (boots only in rommon). I am following the procedures however I just keep getting the following error:

rommon 1 > ip_address=192.168.1.2
rommon 2 > ip_subnet_mask=255.255.255.0
rommon 3 > default_gateway=192.168.1.1
rommon 4 > tftp_server=192.168.1.1
rommon 5 > tftp_file=c837-k9o3sy6-mz.123-2.XE
rommon 6 > tftpdnld

Missing or illegal ip address for variable IP_ADDRESS                                                    
Illegal IP address.                  

usage: tftpdnld [-ur]
  Use this command for disaster recovery only to recover an image via TFTP.
  Monitor variables are used to set up parameters for the transfer.
  (Syntax: "VARIABLE_NAME=value" and use "set" to show current variables.)
  "ctrl-c" or "break" stops the transfer before flash erase begins.

  The following variables are REQUIRED to be set for tftpdnld:
            IP_ADDRESS: The IP address for this unit
        IP_SUBNET_MASK: The subnet mask for this unit
       DEFAULT_GATEWAY: The default gateway for this unit
           TFTP_SERVER: The IP address of the server to fetch from
             TFTP_FILE: The filename to fetch

  The following variables are OPTIONAL:
          TFTP_VERBOSE: Print setting. 0=quiet, 1=progress(default), 2=verbose
      TFTP_RETRY_COUNT: Retry count for ARP and TFTP (default=7)
          TFTP_TIMEOUT: Overall timeout of operation in seconds (default=7200)
         TFTP_CHECKSUM: Perform checksum test on image, 0=no, 1=yes (default=1)

  Command line options:
   -r: do not write flash, load to DRAM only and launch image
   -u: upgrade the rommon, system will reboot once upgrade is complete

Please advise.

Thank you,
REX
ASKER CERTIFIED SOLUTION
Avatar of gpriceee
gpriceee

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of gpriceee
gpriceee

The assumption is that the tftp_file name is correct as are the addresses.  If not, make them accurate.
Avatar of rex68

ASKER

Hi gpricee,

Thank you for your reply.

I've changed the checksum to 0 but it is still giving me the same error and I've assured that all IP addresses and filename are accurate.

Anything else I could possibly try?

Cheers,
REX
These commands, assuming nothing is inaccurate seem correct:
rommon 1 > ip_address=192.168.1.2
rommon 2 > ip_subnet_mask=255.255.255.0
rommon 3 > default_gateway=192.168.1.1
rommon 4 > tftp_server=192.168.1.1
rommon 5 > tftp_file=c837-k9o3sy6-mz.123-2.XE
rommon 6 > tftpdnld

The next thing you get should be a warning, and all you have to do is hit y

Is your tftp server the same as your default gateway?
Is the extension on the tftp file correct?
I just looked at it again, and the filename seems incomplete.
.bin
The variables are case sensitive, use upper case:

rommon 1 > IP_ADDRESS=192.168.1.2
rommon 2 > IP_SUBNET_MASK=255.255.255.0
rommon 3 > DEFAULT_GATEWAY=192.168.1.1
rommon 4 > TFTP_SERVER=192.168.1.1
rommon 5 > TFTP_FILE=c837-k9o3sy6-mz.123-2.XE
rommon 6 > tftpdnld
Avatar of rex68

ASKER

Hi Lads,

I've managed to do it through XMODEM..

Thanks for all replies.