Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

files from the Internet router

I have a question is it possible to transfer files such as running-config, IOS image over the internet, send it to a TFTP server, SCP server?

14 REPLIES
Cisco Employee

files from the Internet router

Hello,

Yes, absolutely, that is possible. The copy command can be used for that. It is used in the usual manner - copy source destination. For example:

copy running-config tftp://192.0.2.1/config.txt

copy flash:c3560-ipbasek9-mz.122-52.SE.bin scp://10.0.0.1

Use the ? key to find out the names of source and destination filesystems when using the copy command.

Best regards,

Peter

New Member

files from the Internet router

will tell what the intention is, the router is at home and is connected to the internet and I sit my laptop at school and wants to copy files from the router as the running-config, IOS image to my laptop is this possible?

Cisco Employee

files from the Internet router

Hi,

The direction about which you originally wrote about - the router contacting a faraway TFTP/SCP server - would be possible only if you had a SCP/SFTP server installed at your laptop, and at the same time, if your laptop at your school had a publicly reachable IP address (which I strongly doubt).

If your router supports SCP server functionality (check for the presence of the ip scp server enable global configuration command) then it may be possible to connect to it using SCP client. The router itself would server as an SCP server, and should allow you to copy files from and to it.

Best regards,

Peter

New Member

files from the Internet router

yes the router supports scp correct this command copy flash: C3560-ipbasek9-mz.122-52.SE.bin scp :/ / public ip?

Cisco Employee

files from the Internet router

Hello,

yes the router supports scp correct this command copy flash: C3560-ipbasek9-mz.122-52.SE.bin scp :/ / public ip?

This would work if the SCP server is accessible on a public IP address. However, as I explained earlier, if you want to copy the files to your laptop in the school then your laptop must have a public IP address and must run a SSH server. Does your laptop meet both these requirements?

Best regards,

Peter

New Member

files from the Internet router

yes scp server running on my laptop and I have a public IP address does this work?

Cisco Employee

files from the Internet router

Hi,

Well, if your laptop has a public address then the command

copy flash:file scp://X.X.X.X

where X.X.X.X is the public IP address of your laptop would indeed work. You can also replace the flash:file with running-config, startup-config or other filename you want to copy from your router to your laptop.

Best regards,

Peter

New Member

files from the Internet router

my laptop sits on a router that has a public ip does that work?

Cisco Employee

files from the Internet router

Hi,

Let me put it differently: if you can ping from your router to your laptop then most probably, you will also be able to issue the aforementioned copy commands on the router to copy files from it to your laptop. You may try it right away - at most, it won't work and the copy operation will time out - there is nothing that could go wrong.

Best regards,

Peter

New Member

files from the Internet router

there is sometimes a way for files from the router to convert your laptop? About

Cisco Employee

files from the Internet router

Hello,

I apologize - I do not understand your question. Can you rephrase it differently, perhaps provide an example of what you are trying to accomplish in this "conversion"?

Best regards,

Peter

New Member

files from the Internet router

is there some way that what succeeds or laptop must have a public ip?

Cisco Employee

files from the Internet router

Hi,

There must be a workable IP connectivity between the laptop and the router. If the laptop is not connected directly to the router but is rather somewhere "outside", behind an internet connection (at your school, as you indicated), then it must have a public IP address because the communication between the router and the laptop will be done over public internet - so the IP addresses also have to be public.

Best regards,

Peter

New Member

files from the Internet router

I know the public IP address that my laptop is connected with it is possible to send the laptop files over the Internet

419
Views
0
Helpful
14
Replies
CreatePlease to create content