cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1288
Views
0
Helpful
5
Replies

getting configuration via ssh

Yves-Buecking_2
Level 1
Level 1

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 5

Joe Clarke
Cisco Employee
Cisco Employee

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.

scottmac
Level 10
Level 10

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

dave
Level 1
Level 1

Use rancid. It's great!

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

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

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

Review Cisco Networking for a $25 gift card