Link to home
Start Free TrialLog in
Avatar of Lindabusa
Lindabusa

asked on

Error when TFTP data from Router to TFTP server

I have a Cisco 1721 that had lost its flash image. I took a flash image from a 1720 and successfully xmodem the image onto the 1721. After that was completed I was trying to backup the flash image to the TFTP server and I am getting the following message:

Cisco1721#copy flash tftp
Source filename [c1700-y-mz.122-13a.bin]?
Address or name of remote host []? 10.0.0.5
Destination filename [c1700-y-mz.122-13a.bin]?
%Error opening tftp://10.0.0.5/c1700-y-mz.122-13a.bin (Socket error)

I can not transfer or recieve file from the the TFTP server with this Router. I have verified that I could ping the TFTP server, Ping the Router from the TFTP server, TFTP server can Send and Recieve files, I was able to transfer files using the other Cisco 1720, Cisco 2600 and Catalyst 2950. Does anyone have any suggestions?
ASKER CERTIFIED SOLUTION
Avatar of -Leo-
-Leo-

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

ASKER

I've tried rebooting serveral times and "copy tftp" again to no avail. I get the same (Socket Error) when ever I preform a TFTP function.

Current configuration : 551 bytes
!
version 12.2
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
no service dhcp
!
hostname "Cisco1721"
!
enable secret **************
!
memory-size iomem 25
ip subnet-zero
no ip domain-lookup
!
!
!
!
interface FastEthernet0
 ip address 10.0.0.6 255.255.255.0
 speed auto
!
ip classless
no ip http server
!
banner motd ^C CCNA Lab Cisco 1721 ^C
!
line con 0
 password ********
 login
line aux 0
 password ********
 login
line vty 0
 password ********
 login
line vty 1 4
 password *********
 login
!
end
Very strange behaviour... I can suggest you to erase flash and download IOS to 1721 again...
Have you tried rebooting your tftp server?
Can you copy the exact same image file from the 1720 where you got the image to the tftp server? Are you certain that you have the correct file name?
I tried to download the IOS using xmodem again onto the router it when through the erase flash and attempted to download the flash file, but it was really quick so I knew something was wrong. I did a show flash command and it did not have a flash image so I tried to use xmodem again to no avail. I reload and it came up in rommon mode. In rommon mode I tried to xmodem and tftpdnld to no avail xmodem goes through the prompts and does a quick transfer, but no flash image. Tftpdnld can't find the tftp server and yes I configure the IP address, subnet mask and default gateway. I'm getting a strange error when booting up now i'll post it. I've was told that I might need to reseat the flash chip, but when I open up the 1720 all the chip were saunter to the board and I could not tell what chip was the flash chip. Any suggestions?
 
System Bootstrap, Version 12.2(7r)XM2, RELEASE SOFTWARE (fc1)
TAC Support: http://www.cisco.com/tac
Copyright (c) 2003 by cisco Systems, Inc.
C1700 platform with 65536 Kbytes of main memory

loadprog: error - trouble reading file magic number
boot: cannot load "flash:"

System Bootstrap, Version 12.2(7r)XM2, RELEASE SOFTWARE (fc1)
TAC Support: http://www.cisco.com/tac
Copyright (c) 2003 by cisco Systems, Inc.
C1700 platform with 65536 Kbytes of main memory

loadprog: error - trouble reading file magic number
boot: cannot load "flash:"

System Bootstrap, Version 12.2(7r)XM2, RELEASE SOFTWARE (fc1)
TAC Support: http://www.cisco.com/tac
Copyright (c) 2003 by cisco Systems, Inc.
C1700 platform with 65536 Kbytes of main memory

rommon 1 > 

And yes I reboot the tftp server several times and was able to copy another 1720, 2600 and 2950 image back and forth from the tftp server....
What IOS file name and size you trying to upload to the router ??? Probably it is wrong or corrupted....

Sometimes TFTP download in rommon mode could go tough, try "dnld" and send IOS image with Xmodem, make sure you have correct speed in the "dnld" settings!
remember you can always use regular ftp if tftp is screwey
please try below

Router#config terminal
Enter configuration commands, one per line.  

Router(config)#no service config

Router(config)#exit

Router#copy running-config startup-config