Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Community Member

getting configuration via ssh

Hi,

I am still looking for a solution to backup my configuration from several cisco devices with ssh/scp.

Could anyone please provide a solution or script, since I was unable to get the ones I know to run.

Thanks a lot.

5 REPLIES
Cisco Employee

Re: getting configuration via ssh

Being from Cisco, my obligatory answer is CiscoWorks. It has the ability automatically (based on the reception of syslog messages or periodically) are configurations using SSH, scp, telnet, TFTP, and RCP.

Green

Re: getting configuration via ssh

What platform (MS Windows / Unix / Linux / Mac) are you using / would be best for you?

Do you have any knowledge / experience with Perl or other scripting?

Maybe take a look at Kiwi CatTools -

http://www.kiwisyslog.com/index.php

Let us know ...

Scott

Community Member

Re: getting configuration via ssh

Use rancid. It's great!

http://www.shrubbery.net/rancid/

Community Member

Re: getting configuration via ssh

Thank you for the answers, I will check out the advice you gave me!

Based on Unix OS, I tried this:

scp -v user@ip-address :running-config /directory/

This works fine with ssh1 on normal IOS boxes, if you turn ip scp server on, but it sometimes fails doing it with a ASA.

So, I suppose I just have to wrap it into a nice perl script, thats it.

Lets see, I will have a look a rancid first.

Cisco Works is doing a lot of thinks I don?t relaay understand, and mostly if you rely on it only, it doesn?t work properly, thats why I would prefeer a script tool.

bye

Yves

Green

Re: getting configuration via ssh

IF you're going Perl, load up Net::Telnet::Cisco from CPAN.

It's already set up for the prompts and responses.

Good Luck

Scott

162
Views
0
Helpful
5
Replies
CreatePlease to create content