10-31-2007 03:41 AM - edited 03-05-2019 07:21 PM
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
10-31-2007 03:50 AM
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
10-31-2007 04:45 AM
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.
10-31-2007 06:02 AM
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
10-31-2007 06:19 AM
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...
02-11-2008 01:57 PM
Rolf,
Did you have any luck making this work?
Thanks,
02-12-2008 04:37 AM
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
04-22-2008 11:12 AM
04-22-2008 11:13 AM
04-22-2008 11:13 AM
04-22-2008 11:13 AM
04-22-2008 11:13 AM
04-22-2008 11:13 AM
04-22-2008 11:13 AM
04-22-2008 11:13 AM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide