Catalyst 3550: Loading IOS via TFTP from ROMmon?

Unanswered Question
Oct 31st, 2007

Hi everybody,

I need to load an IOS from ROMmon-mode to a Catalyst 3550.

Of cause I could do that via xmodem but I thought it should also be possible via TFTP.

What I did:

switch: IP_ADDRESS=192.168.1.1

switch: IP_SUBNET_MASK=255.255.255.0

switch: TFTP_SERVER=192.168.1.2

switch: TFTP_FILE=c3550-ipservicesk9-mz.122-35.SE5.bin

switch: DEFAULT_GATEWAY=192.168.1.1

switch: set

BOOT=tftp://192.168.1.2/c3550-ipservicesk9-mz.122-35.SE5.bin

DEFAULT_GATEWAY=192.168.1.1

IP_ADDRESS=192.168.1.1

IP_SUBNET_MASK=255.255.255.0

MAC_ADDR=00:0F:90:7F:B1:00

MODEL_NUM=WS-C3550-48-SMI

MODEL_REVISION_NUM=L0

MOTHERBOARD_ASSEMBLY_NUM=73-5701-09

MOTHERBOARD_REVISION_NUM=A0

MOTHERBOARD_SERIAL_NUM=CAT08130PUT

POWER_SUPPLY_PART_NUM=34-0967-02

POWER_SUPPLY_SERIAL_NUM=DTH08094HH7

SYSTEM_SERIAL_NUM=CAT0813Z29A

TFTP_FILE=c3550-ipservicesk9-mz.122-35.SE5.bin

TFTP_SERVER=192.168.1.2

switch: boot tftp://192.168.1.2/c3550-ipservicesk9-mz.122-35.SE5.bin

Loading "tftp://192.168.1.2/c3550-ipservicesk9-mz.122-35.SE5.bin"...tftp://192.168.1.2/c35 50-ipservicesk9-mz.122-35.SE5.bin: permission denied

Error loading "tftp://192.168.1.2/c3550-ipservicesk9-mz.122-35.SE5.bin"

Interrupt within 5 seconds to abort boot process.

Boot process failed...

switch: boot

Loading "tftp://192.168.1.2/c3550-ipservicesk9-mz.122-35.SE5.bin"...tftp://192.168.1.2/c35 50-ipservicesk9-mz.122-35.SE5.bin: permission denied

Error loading "tftp://192.168.1.2/c3550-ipservicesk9-mz.122-35.SE5.bin"

Interrupt within 5 seconds to abort boot process.

Boot process failed...

Am I doing something wrong or is it generally impossible to load an IOS via TFTP to a 3550?

Thanks in advance

Rolf

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Kevin Dorrell Wed, 10/31/2007 - 03:50

Check that you actually have that file in the home directory of the TFTP server, and make sure the TFTP server is running. I don't know what TFTP server you are running, but I use SalarWinds, which is great because you can see the TFTP access in its diagnostic window, and therefore see why it failed.

If you TFTP server is on UNIX, then make sure that the TFTP server is using the right home directory, and also make sure that "all" have read rights on the directory and the file. Rights 666 (rw-rw-rw-) usually does the trick.

Kevin Dorrell

Luxembourg

Rolf Fischer Wed, 10/31/2007 - 04:45

Check that you actually have that file in the home directory of the TFTP server,

-> YES

and make sure the TFTP server is running.

-> YES

I don't know what TFTP server you are running,

-> it's a 3Com TFTP-Server, and never had problems with this one.

MUHAMMAD SHAHEEN Wed, 10/31/2007 - 06:02

Hi,

Try renaming the .bin file to a small name and then use that name instead of long name. It looks like there is a space in between (tftp://192.168.1.2/c35 50-ipservicesk9-mz.122-35.SE5.bin) c35 50, if you look carefully. Perhaps the Switch is not able to read the long filename and adding a space in the middle while reading it. I remembber I had this trouble 2 years ago with a different switch. I simply reneamed the file which solved my problem. The switch will install the correct name in the flash after loading it.

I suggest you rename tftp://192.168.1.2/c35 50-ipservicesk9-mz.122-35.SE5.bin to something like tftp://192.168.1.2/switch1.bin

HTH

Shaheen

Rolf Fischer Wed, 10/31/2007 - 06:19

Shaheen,

thank's for your reply - nice idea!

The space happend by copying, in the original command there was no space. Nevertheless I renamed the image and changed the command but unfortunately it still doesn't work.

I captured with wireshark on the PC's interface and it seems like the switch doesn't send a single packet...

steve.dutky Mon, 02/11/2008 - 13:57

Rolf,

Did you have any luck making this work?

Thanks,

davetucker Tue, 02/12/2008 - 04:37

Rolf,

Are you trying to copy the IOS to the flash?

If so you should use the "tftpdnld" command and not "boot".

In ROMmon the device is dumb as it has no config. The Ethernet interfaces don't have an IP address. When you enter a paramater like "IP_ADDRESS" this only becomes valid when using the "tftpdnld" command script. You are not actually configuring the interface. This explains why you would not see the switch sending any packets.

Hope this helps, If so please rate.

Regards,

Dave

Anonymous (not verified) Tue, 04/22/2008 - 11:12

Anonymous (not verified) Tue, 04/22/2008 - 11:13

Anonymous (not verified) Tue, 04/22/2008 - 11:13

Anonymous (not verified) Tue, 04/22/2008 - 11:13

Anonymous (not verified) Tue, 04/22/2008 - 11:13

Anonymous (not verified) Tue, 04/22/2008 - 11:13

Anonymous (not verified) Tue, 04/22/2008 - 11:13

Anonymous (not verified) Tue, 04/22/2008 - 11:13

Anonymous (not verified) Tue, 04/22/2008 - 11:14

Anonymous (not verified) Tue, 04/22/2008 - 11:15

Anonymous (not verified) Tue, 04/22/2008 - 11:16

Anonymous (not verified) Tue, 04/22/2008 - 11:16

Anonymous (not verified) Tue, 04/22/2008 - 11:16

Anonymous (not verified) Tue, 04/22/2008 - 11:17

Anonymous (not verified) Tue, 04/22/2008 - 11:17

andrew.butterworth Tue, 04/22/2008 - 11:22

I am pretty sure you can't boot from a TFTP server with the Catalyst 3550 (or any of the other standalone access switches - 2950, 3550, 3560 3750 etc). If you want to recover one you need to recover it using XModem via the console:

http://www.cisco.com/en/US/products/hw/switches/ps628/products_tech_note09186a0080169696.shtml

I used to think you had to do this at 9600-baud, however you can increase the baudrate and it only takes 10-20 minutes (I couldn't get 115200 to work but 57600 worked OK and took about 20-minutes).

You need to remember to put the baud rate back to 9600 when the image is back on as it gets stored in NVRAM and reboots etc are at the stored speed (i.e. changing it after it has booted under the line con 0 doesn't get saved to NVRAM).

HTH

Andy

gp1200x@yahoo.com Thu, 02/27/2014 - 16:05

Yes you CAN use tftp from the rmon.....at the switch prompt simply set up the IP address and default gateway ---seems to need the default gateway sometimes even if both address are in the same subnet. Anyway setup using the IP_ADDR=x.x.x.x/255.255.255.0 and the DEFAULT_GATEWAY=x.x.x.x    The simply use the boot  tftp://x.x.x.x/filename  command to load it. Make sure you load on the bin file type.

Once it is up you can then reload using IOS commands - use the archive downlad-sw command and load your tar fiel to give you back your full GUI support too. It takes a while but it is the quickest way...and it DOES work. Use someting like 3CDaemon or a better tftp server. Some like 3CDAEMON have file size restrictions due to their age.

gp1200x@yahoo.com Thu, 02/27/2014 - 16:08


Make sure you are using the 10/100 mamangement port in the back. When you are using the rmon with IP setup commands at the switch prompt you are configuring that 10/100 in the back....not the front of the machine.

gp1200x@yahoo.com Thu, 02/27/2014 - 16:59

                   Sorry,  my response is wrong!    Even though you can boot usng tftp...the 3750 and probably 3550 will try to reload and wipe its ram out after the tftp download and test.....so you have to do this......from the rmon  copy tftp://x.x.x.x/filename   flash:test       where test is actually the name I used for the bin file.   then I set BOOT=flash:/test   and   typed boot at the system prompt - it takes while but will boot up the code...then continue on where I was about using archive to put the full tar file into the switch....It works - I just tried it.

Actions

Login or Register to take actions

This Discussion

Posted October 31, 2007 at 3:41 AM
Stats:
Replies:25 Overall Rating:
Views:8562 Votes:0
Shares:0
Tags: No tags.