Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

On our Cisco-Routers we enabled RCP. Now we want copy all the running-config with our Ubuntu Server but I can't find any suitable command.

I tried copying with rsync and cp but that did not work.

Commands I tried:

cp (IP):running-config
rsync (IP):running-config ./
rsync rcp://10.18.253.1/running-config ./
share|improve this question
add comment

3 Answers

up vote 4 down vote accepted

RCP is not the same as scp or cp or rsync. It's rcp. The command that you would use, if it were installed, is rcp.


rcp is packaged and distributed with rsh, and often with kerberos.

share|improve this answer
    
I can't find any package, where can I get it? –  Ueli Oct 4 '10 at 9:59
    
Did you check to see what happens when you issue the "sudo apt-get install rcp" command? –  Bart Silverstrim Oct 4 '10 at 10:15
    
@Xarem add'l information added –  tylerl Oct 4 '10 at 10:16
    
Thank you, it's in the rsh-package (aptitude install rsh)! –  Ueli Oct 4 '10 at 11:13
add comment

Others have already explained what rcp for unix is.

If you want to automatically save your routers/switches configs, take a look at rancid. It works a treat. It keeps a revision history of all the configs. It works great in debian, so I guess it will with ubuntu too.

share|improve this answer
add comment

RCP is is part of the unix rshell suite of programs and is accessed through the rcp command. It can be used for copying files and directories from one system to another. You can find it's manpage here and some examples here.

Rsync can also be used for copying files and directories from one system to another. It has built in protocols that can be used to keep directories on different systems in sync with each other whilst keeping the amount of network traffic to a minimum. The rsync manpage is here and there are examples of it's use here.

share|improve this answer
    
rsh/rcp is also ancient, apart from cases as described where appliance hardware does not support anything else you should use ssh/scp. –  rackandboneman Jun 12 '12 at 14:45
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.