08-23-2016 07:28 AM
I have a question, it is possible to send remote files from your PC to the router via scp
08-23-2016 08:02 AM
Yes I just upgraded all my routers in EMEA from my desktop the other day using scp as we have ftp and tftp blocked because there unsecure
08-23-2016 08:03 AM
xxxxx#copy scp://172.x.x.x/isr4300-universalk9.03.16.03.S.155-3.S3-ext.SPA.bin bootflash:
Address or name of remote host [172.21.7.135]?
Source username [mmalone]?
Source filename [isr4300-universalk9.03.16.03.S.155-3.S3-ext.SPA.bin]?
Destination filename [isr4300-universalk9.03.16.03.S.155-3.S3-ext.SPA.bin]?
Password:
Sending file modes: C0664 476783328 isr4300-universalk9.03.16.03.S.155-3.S3-ext.SPA.bin
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
08-23-2016 08:06 AM
Okay and how exactly did because they are two different networks
08-23-2016 08:10 AM
well you would have to have reachability to the device from your pc before you can scp to it from your pc , your pc would need to be able to speak to the router by routing and also scp would need to be allowed in , it uses ssh so most devices would already be setup as ssh is used mostly for remote access instead of telnet
routing is layer 3 while scp is application layer 7 so the routing needs to be in place first before scp can work
08-23-2016 08:12 AM
ssh and scp is configured, you sometimes have an example
08-23-2016 08:17 AM
? the example is above how to use scp and its going to vary depending on your device it may have flash but not use bootflash etc , you do it from the router and pull the file that you select from your pc
in the case above im pulling the new ios from pc .135 to the 4331 routers bootflash
copy scp from .135 / image 4300 and send it to bootflash in local router
copy scp://172.x.x.x/isr4300-universalk9.03.16.03.S.155-3.S3-ext.SPA.bin bootflash
08-23-2016 08:21 AM
The network 172 is that your private network or public ip
08-23-2016 08:44 AM
that's my local pc , the router can reach it and the scp application is open and running on it , then once you initiate the scp the it will go to the pc and grab the file
08-23-2016 08:50 AM
copy scp: // your private IP or private IP / isr4300-universalk9.03.16.03.S.155-3.S3-ext.SPA.bin boot flash, because I have done this over the putty in config mode copy scp: // 198.168.0.212/c890-universalk9_npe-mz.151-3.T2.bin but get time out
08-23-2016 09:18 AM
from the router can you ping 198.168.0.212 , are you sure ssh is open all the way to your pc from the router over that exact path , turn off the firewall on your pc as well windows and any anti virus just while you do it , my mcafee does block me locally on pc
08-23-2016 09:25 AM
I want from 192.168 0.0 network copy private files cablemodem to another network 10.10.10.0 private network cisco router
08-24-2016 12:43 AM
You can copy it to storage inside the router flash , bootflash etc inside the router , your trying to copy to the router yes , not another pc ? you don't need to know the 10.0.0.0 network your copying from you pc to the router , once there is reachability and ssh is allowed it will work
If its timing out something is blocking it
08-24-2016 01:55 AM
it is sometimes possible to share as your running-config wait, maybe I'm forgetting something to configure
08-24-2016 02:13 AM
hI can you post off the router
show ip ssh
sh run | inc ssh
ping 198.168.0.212
and also exactly what way your doing the scp transfer -----copy scp ......
and make sure the winscp application is open on your pc and file is there to be accessed
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide