cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
22292
Views
0
Helpful
25
Replies

Catalyst 3550: Loading IOS via TFTP from ROMmon?

rolf.fischer_2
Level 1
Level 1

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

25 Replies 25

Kevin Dorrell
Level 10
Level 10

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

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.

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

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

Rolf,

Did you have any luck making this work?

Thanks,

davetucker
Level 1
Level 1

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

Not applicable

Not applicable

Not applicable

Not applicable

Not applicable

Not applicable

Not applicable

Not applicable

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: