cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
989
Views
0
Helpful
8
Replies

please help, tftp connection to router

chr6is000
Level 1
Level 1

                   hello, i need help with getting a connection from my pc to my router so i can backup and restore the ios. i downloaded a tftp server and connected the cat5e cable to both the router and pc when i ping it has no connection. i dont have the workstation on the same sub net im guessing and cannot figure how to get it on the same network. im sure this is something easy to do and im just starting out. so if someone could give a quick answer i would be greatful.

thanks

1 Accepted Solution

Accepted Solutions

Reza Sharifi
Hall of Fame
Hall of Fame

Hi,

Configure the interface of the router with an IP address for example:

if your PC is connected to port fa0/0 on the router  configure this port with IP address  see below:

config t

inter fa0/0

ip address 10.10.10.1 255.255.255.0

no sh

now verify to make sure the interface is configured correctly and it is in up and up mode by using this command:

sh ip int bri fa0/0

now configure your PC with this ip

10.10.10.2 255.255.255.0

If the physical connectivity is good, you should be able to ping the PC from the router and also from the PC to the router

HTH

View solution in original post

8 Replies 8

Reza Sharifi
Hall of Fame
Hall of Fame

Hi,

Configure the interface of the router with an IP address for example:

if your PC is connected to port fa0/0 on the router  configure this port with IP address  see below:

config t

inter fa0/0

ip address 10.10.10.1 255.255.255.0

no sh

now verify to make sure the interface is configured correctly and it is in up and up mode by using this command:

sh ip int bri fa0/0

now configure your PC with this ip

10.10.10.2 255.255.255.0

If the physical connectivity is good, you should be able to ping the PC from the router and also from the PC to the router

HTH

yes thanks again for the reply, i actually did figure it out about 20 minutes after i asked for help. i made the routers ip 10.10.10.1 and the pc 10.10.10.2. i had screwed up the subnet, after i fixed that i was up and running and copy flash tftp.

im half way through the book so i am sure i will be back with many more questions soon enough through the next half.

cant wait to get my ccna, cisco is fun

thanks

Chris

Thank you for posting to the forum and letting us know that you have figured our thjis issue and got it to work. It was good suggestions from Reza.

This forum is an excellent place to learn about Cisco networking. I wish you the best as you go through your studies.

HTH

Rick

HTH

Rick

thanks you rick. quick question whats the difference between (copy tftp flash) from the router, which it prompts to delete existing flash if there is no room

or

using the IFS (delet flash:c2600-ipbase.............)

and then (copy tftp://10.10.10.2/c2600-ipbase.........bin/ flash:/c2600-ipbase.........bin)

is it two different ways and the IFS just shows you how to use the url version of replacing or upgrade the flash ios version?

thanks

Hi,

in first example if you have enough free space then you'll end up with 2 images in flash and you can tell the router from which to boot with the boot system command.

Regards

Alain

Don't forget to rate helpful posts.

Don't forget to rate helpful posts.

Chris

I think there are several parts of your question to try to answer.

My first point would be that the behavior of copy tftp flash depends on the version of code that you are running. Older versions of code would detect that there was not enough space available and would prompt  about deleting existing files. Newer versions of code detect that there is not enough space, generates a warning message, and abort the copy which forces you to manually delete files and do the copy.

I do not recognize the acronym IFS so I do not know what to say about that.

The second approach manually deletes the file and then does a copy - and as I say above in more recent versions of IOS this is what you need to do.

The other part of the question may be about using the URL in the copy command. You can do the copy by just typing copy tftp flash and if you do this then the router will ask several questions and then what it does is to do the copy using the URLs or you can type the copy command specifying the URLs and not go through the prompt process. The result is the same in both cases, for the router to be able to copy the image file it has to have the URL specification of the source file.

HTH

Rick

HTH

Rick

thanks rick, in the book im following it says the IFS (IOS file system) uses url to also copy flash tftp. im guessing they are the same but, im thinking the url is to get more detailed in the selection of what you want to copy. for instence if you have a large flash with more than one file inside then you can use the url style to back up a particulr file in stead of copying the whole flash over to tftp.

thanks for the response have a great day.

and to responed to cadet alain, i tried pushing the correct answer button but it does not say that it has been answered.

so anyone reading this thank you and the question has been answered.

Chris

Thanks for explaining that IFS stands for the IOS File System. As I tried to explain above it does not matter whether you start with the simple command copy tftp flash or whether you use the more complex copy command that includes the URL, by the time the router actually does the copy it has build the URL and uses the URL to do the copy of the image file.

I am sorry that you are having problems in marking this question as answered. Thanks for acknowledging that the question is answered.

HTH

Rick

HTH

Rick