Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

C827, TFTP

Status
Not open for further replies.

DManigo

ISP
Joined
Mar 16, 2005
Messages
71
Location
US
Some how the IOS was erased from the router,so I need to relaod the image. I downloaded a TFTP server program from Solaris which has a upload cisco config utility. I noticed within the rommon 1> line and also in this utility, I need to specify the routers ip as well as the TFTP server IP. I have the TFTP IP but can't specify the routers IP as it doesn't have one.
Now the router doesn't enter romon1>, it displays characters instead, HELP PLEASE !!!
 
when trying to type any letter or number, al I get are the following characters:

^^^^^zzzz
 
ok, I changed the baud rate to 9600 and now have the rommon1> prompt. I tried to initialize the router,
rommon 1> i
recieved:

Enabling instruction cache
reading cookie
initializing main memory
sizing NVRAM
sizing flash
exiting init
C827 platform with 16384 kbytes of main memory
loadprog: bad file magic number: 0x0
boot: cannot load "flash:"
System Bootstrap, Version 12.1 (1r)XB1. RELEASE SOFTWARE (FC1)
Copyright (c) 2000 by cisco Systems, Inc.
Testing lower main memory - data equals address
Testing lower main memory - checkerboard
Testing lower main memory - inverse checkerboard
Clearing lower 4k memory for cache initialization
Clearing bss
enabling interrupts
reading monitor variables from NVRAM
nvram_sav->confreg: 0x9c2f, nvram_sav->rconfreg: 0x63d0
our confreg: 0x9c2f, conf: 0x9c2f
rommon 1 >

I have the current IOS to reload but here is my problem;
TFTPdnld, is asking for the routers IP address. I tried downloading Solaris TFTP software which asks me for the same information. There is no IP information to enter. Any way around this?
 
Step 2 Place the router in ROMMON mode by sending a telnet break command during the router reboot sequence. The following prompt will be displayed, indicating entry into ROMMON mode:

rommon>



Step 3 In ROMMON mode, set the following parameters by typing the names followed by an equals sign as shown, and then typing a value for the parameter.

IP_ADDRESS=

IP_SUBNET_MASK=

DEFAULT_GATEWAY=

TFTP_SERVER=

TFTP_FILE=
 
Joamon,

IP_ADDRESS=
IP_SUBNET_MASK=
DEFAULT_GATEWAY=

Is these address's I assign? The router does not have any IP information. If not, where would I get this from?
 
IP_ADDRESS=

IP_SUBNET_MASK=

DEFAULT_GATEWAY=

TFTP_SERVER=

TFTP_FILE=

You need input these on the router. Then setup server on same subnet. Remember that rour router was doing DHCP so you may need to assign the ip address to the TFTP server. Test connection by pinging to router from tftp server. If successful ping then should be able to issue your tftpdnld command.

IP_ADDRESS=192.168.1.1

IP_SUBNET_MASK=255.255.255.0

DEFAULT_GATEWAY=192.168.1.1

TFTP_SERVER=192.168.1.XXX

TFTP_FILE=XXXXXXXXX

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

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

Probably want the tftpdnld -u option
 
These commands need be typed exactly including the underscores and =
 
Here is what I tried;
rommon 1 > set ip_address=192.168.1.1
usage: set
rommon 2 > set ip_subnet_mask=255.255.255.0
usage: set
rommon 3 > set default_gateway=192.168.1.1
usage: set
rommon 4 > set tftp_server=10.1.26.32 (tftp server address)
usage: set
rommon 5 > set tftp_file=(file name)
usgae: set
**verified able to ping 192.168.1.1**
rommon 6 > tftpdnld -u

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

tried with both caps on and off, I tried within the ip range of the tftp server address, thumbs down.
 
You need input these on the router. Then setup server on same subnet. Are you saying you changed the router as follows:
rommon 1 > set ip_address=10.1.26.1
usage: set
rommon 2 > set ip_subnet_mask=255.255.255.0
usage: set
rommon 3 > set default_gateway=10.1.26.1
usage: set
rommon 4 > set tftp_server=10.1.26.32 (tftp server address)
usage: set
rommon 5 > set tftp_file=(file name)
usgae: set
**verified able to ping 10.1.26.1**
rommon 6 > tftpdnld -u
 
Been a shile since I did this...just wiped flash on 2611 and will go through the procedure.
 
just tried it exactly as noted. same issue

Missing or illegal ip address for variable IP_ADDRESS
ILLEGAL IP address.
 
First have to say sorry....I tried this myself and got same error message......I will eventually figure out why but in the meantime lets get you back up the old fashioned tried and true way.

Need PC connected to console cable.
Run a program calld hyperterminal.
Start programs accessories communications.
Setup connection on your com port with speed 9600 8 bits n parity 1 stop none for flow control.
from rommon>
enter:
rommon>xmodem -c c2600-ik9o3s3-mz.122-15.T14.bin (filename should be cisco long filename)
are you sure(Y)
then it will say waiting for file
From the toolbar on hyperterminal click transfer then send, browse to the ios file, click open and send.....
Go get beer or several of them as this will take a while.
When finished enter dir flash: and see if the image is there.....if all went well reset and should be back up.

 
Note.....Cisco filename in example for my 2600...substitute your image filename in this field.
 
Joamon, ready to laugh ( I pulled my hair out )
I got the router to start loading the image ( 2+ hours )
just to end with error, not enough RAM. I LOVE THIS STUFF !!
 
Please do a dir flash:
Also meminfo
and post results:
Also I am sending you th IP only IOS for your router. Is only slightly smaller and will take just about as long...
 
At least you still have hair....my got pulled out long ago....
 
OK....TAC just helped figure out why tftp not working from rommon.....you aint gonna beleive it....the following command must be in uppercase:
rommon 1> IP_ADDRESS=
rommon 2> IP_SUBNET_MASK=
rommon 3> DEFAULT_GATEWAY=
rommon 4> TFTP_SERVER=
rommon 5> TFTP_FILE=
rommon 6> TFTP_CHECKSUM=0
this one is in lower case
rommon 7> tftpdnld

Cisco documentation does not state this.........
just used it and it worked great.......
 
Here is the information:
Main memory size: 16 MB.
Available main memory starts at 0x1b000, size 16276KB
IO (packet) memory size: 25 percent of main memory.
NVRAM size: 128KB

I know I'm wearing on your patince, but what should the dir flash command be? I am beyond green with Cisco ( especially this level of troubleshooting)

rommon 8 > dir flash
bad device name
usage: dir <device>
 
Think you need to put a : after flash
dir flash:
Try loading the config with the settings from my previous post....remember to enter commands in upper case except for tftpdnld which is lower case.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top