cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
8929
Views
0
Helpful
5
Replies

TFTP & FTP time out error in packet tracer switch

hamzashahid
Level 1
Level 1

hi 

 

i want to take backup of running or startup config by using tftp or ftp but the issue is when i try this from switch by using this command ( copy running-config tftp:) after giving host address it says time out error but when i do the same at router it happens successfully.

 

thanks

Best Regards:

HAMZA SHAHID

5 Replies 5

Diana Karolina Rojas
Cisco Employee
Cisco Employee

Hello!

 

Can you do ping from de switch to the servers without problem?

 

-----Do not forget to rate useful post-----

 

 

Regards,

no, switch is not pinging to server but the host which is connected through that switch is able to ping server 

i did try inter vlan and made vlan 15 set the ip address in vlan interace like router's port ip is 192.168.2.1 and switch vlan 15 interface ip is 192.168.2.2 and host which is connected through this switch has 192.168.2.3 now host can ping server and router through RIP protocol in router but switch is not able to ping to 192.168.2.1 and also tftp server which is 192.168.1.2, i also try FTP insted of tftp but same result nothing happen in switch still getting that timeout error 

i did not get why is it only happening in switch and how can router doing well in tftp and FTP

 

Kindly show me proper gate :-)

 

Thanks:

Best Regards:

HAMZA SHAHID

Hi, 

Is any SVI having IP on that switch? is the default gateway configured on this switch?

 

Check both and reply if you will face any issue. 

 

Regards,

Deepak Kumar

 

Regards,
Deepak Kumar,
Don't forget to vote and accept the solution if this comment will help you!

Hello Hamzas good morning,

 

You need to configure the default Gateway for the switch, you said switch has 192.168.2.2 and the router has 192.168.2.1, so you need to configure 192.168.2.1 as the default gateway for you switch, it will use it for the traffic that it generates, other way you won't be able to reach the FTP in the other network.

 

ip default-gateway 192.168.2.1

 

------------Please remmember to rate the useful answers-------------

 

 

Regards,

CSCO11304974
Level 1
Level 1

Login with console of the particular switch and by entering the Show running config command for capture the switch configuration .