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

getting configuration via ssh

Yves-Buecking_2
Beginner
Beginner

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
Hall of Fame Cisco Employee Hall of Fame Cisco Employee
Hall of Fame 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
Advocate
Advocate

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
Beginner
Beginner

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: