Cisco Switch 2950-24 - TFTP update giving Socket error

bankimj used Ask the Experts™
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.
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
please close firewall or anti virus port scanner on your TFTp Server. TFTP port is 69.


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).
Exploring SQL Server 2016: Fundamentals

Learn the fundamentals of Microsoft SQL Server, a relational database management system that stores and retrieves data when requested by other software applications.

can you ping from switch to tftp server?


Router ( -------- Switch -------------TFTP server

Router ----> TFTP server ........... 100% success
Switch ---- >TFTP Server ......... 0% success
%unrecognized host or address, or protocol not running
i think your switch ip configuration is not working.
please define
ip default-gateway [gateway ip]
you can not use tftp before ping it.


ip default-gateway
no success...
ping not going..
%unrecognized host or address
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.


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.


By the way I really appreciate your constant support.
Thanks in advance.
please send me all switch configuration some rhing is wrong there,,


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?
yes please. dont change any thing.
show running-config
show interface f0/14
also please add below command to config.

logging buffered 64000 debugging

after 3 min. please send me below output.
show log


sending captured text of connected port f0/13 & f0/20

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

int vlan 1
ip address
no shut


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.

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.


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.
your wellcome :) i think you can close this case...


All right. btw how to close the case?
And how to give those points o ou for your wonderful guidance?


Equalizer was very cooperative.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial