Cisco Switch 2950-24 - TFTP update giving Socket error

Cisco Switch 2950-24
Connected via f0/24 to FTP server (
Commands via console.
#copy flash tftp
#source filename []? c2950-i6q412-mz.121-22.EA2.bin
%Error opening tftp:// (Socket Error)

Tried the same procedure on 3 switches (All 2950-24) same result.
Tried copying vlan.dat, running-config - same result.

Connected Router (f0/1 - 24) ----Switch (f0/12) ---- TFTP server (
From Router - copy tftp flash, copy run flash etc ALL works perfectly.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Faruk Onder YerliOwnerCommented:
please close firewall or anti virus port scanner on your TFTp Server. TFTP port is 69.
Faruk Onder YerliOwnerCommented:
UDP 69
bankimjAuthor Commented:
Firewall turned off.
No antivirus installed.
Absolutely fresh windows. No other s/w.
Tried adding port 69 also.
Same result.

As such TFTP works well with Router (as mentioned in the question).
SolarWinds® Network Configuration Manager (NCM)

SolarWinds® Network Configuration Manager brings structure and peace of mind to configuration management. Bulk config deployment, automatic backups, change detection, vulnerability assessments, and config change templates reduce the time needed for repetitive tasks.

Faruk Onder YerliOwnerCommented:
can you ping from switch to tftp server?
bankimjAuthor Commented:
Router ( -------- Switch -------------TFTP server

Router ----> TFTP server ........... 100% success
Switch ---- >TFTP Server ......... 0% success
%unrecognized host or address, or protocol not running
Faruk Onder YerliOwnerCommented:
i think your switch ip configuration is not working.
please define
ip default-gateway [gateway ip]
you can not use tftp before ping it.
bankimjAuthor Commented:
ip default-gateway
no success...
ping not going..
%unrecognized host or address
Faruk Onder YerliOwnerCommented:
please check port situation of swtich which is connected to server. and check vlan number, is it same as router or not. or chang switch port.
bankimjAuthor Commented:
sh ip int brief
All ports down down except
f0/14 - connected to tftp server - Up Up
f0/21 - connected to Router - Up up

No other configurations done.

Tried changing the switch port also. Tried port f0/10 for TFTP.
No success.
bankimjAuthor Commented:
By the way I really appreciate your constant support.
Thanks in advance.
Faruk Onder YerliOwnerCommented:
please send me all switch configuration some rhing is wrong there,,
bankimjAuthor Commented:
All ports - down down
f0/14 - connected to tftp server - Up Up
f0/21 - connected to Router - Up up

should i copy paste & send the entire config?
Faruk Onder YerliOwnerCommented:
yes please. dont change any thing.
show running-config
show interface f0/14
Faruk Onder YerliOwnerCommented:
also please add below command to config.

logging buffered 64000 debugging

after 3 min. please send me below output.
show log
bankimjAuthor Commented:
sending captured text of connected port f0/13 & f0/20

Faruk Onder YerliOwnerCommented:
where is show running-config
Faruk Onder YerliOwnerCommented:
did you assign any ip to switch?
please add below command:

int vlan 1
ip address
no shut
bankimjAuthor Commented:
already given (
also tried the following
int f0/13
switchport mode access

Can there be some problem in cables?
Ping from Router geting dropped infrequently.
I tried this.

another PC ---- Router ----- Switch ----- TFTP
PC -
Switch VLAN 1 -

From PC - ping -t
Randomly dropped ping.
Shall replace all cables tomorrow and try again.

Faruk Onder YerliOwnerCommented:
I am sorry but you are keeping info. We are just losing time. send configuration me.
Also Cable may have problem. But you cannot ping switch from any where. and you can use tftt server from router trough switch. cable looks ok.
Your switch has problem. please send me what i ask you. also log file.
bankimjAuthor Commented:
Sorry for the delay.
Cables were surely the problem as random ping drops from PC to TFTP server as mentioned before. Replaced all of them.
Erased the switch and reconfigured.
TFTP reinstalled.
Things working ok now.
I really appreciate your efforts and help.
Thank you very much.
Faruk Onder YerliOwnerCommented:
your wellcome :) i think you can close this case...
bankimjAuthor Commented:
All right. btw how to close the case?
And how to give those points o ou for your wonderful guidance?
Faruk Onder YerliOwnerCommented:

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
bankimjAuthor Commented:
Equalizer was very cooperative.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Networking Hardware-Other

From novice to tech pro — start learning today.