Cisco Switch 2950-24 - TFTP update giving Socket error

bankimj
bankimj used Ask the Experts™
on
Cisco Switch 2950-24
Connected via f0/24 to FTP server (10.20.30.40)
Commands via console.
#copy flash tftp
#source filename []? c2950-i6q412-mz.121-22.EA2.bin
Address.. 10.20.30.40
.....
%Error opening tftp://10.20.30.40/c2950-i6q412-mz.121-22.EA2.bin (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 - 10.20.30.42/ 24) ----Switch (f0/12) ---- TFTP server (10.20.30.40/24)
From Router - copy tftp flash, copy run flash etc ALL works perfectly.
Comment
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.

Author

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

Author

Commented:
Router (10.20.30.42) -------- 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.

Author

Commented:
ip default-gateway 10.20.30.40
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.

Author

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.

Author

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

Author

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?
yes please. dont change any thing.
show running-config
and
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

Author

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

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

int vlan 1
ip address 10.20.30.41 255.255.255.0
no shut

Author

Commented:
already given (10.20.30.100)
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 - 10.20.30.50
Router 10.20.30.42
Switch VLAN 1 - 10.20.30.100
TFTP 10.20.30.40

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

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

Author

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

Author

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

Author

Commented:
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