tool to backup Cisco switch and Firewall

Hi, Can anyone suggest a SFTP tool for me that can run schedule backup for a couple of Cisco Switches 3750 and Cisco ASA 5500?  Thanks
tonitoni99Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Ken BooneNetwork ConsultantCommented:
What about CATTOOLS.  It uses SSH to login and grab the configs.  You can check it out here:

http://www.solarwinds.com/kiwi-cattools.aspx

Its an easy to setup nice tool for quickly automating this task.
0
brendanmeyerCommented:
if you are up to writing a script (perl) (you may need to install perl packages to get the cisco part working

you can use this as a start

#!/bin/perl

use Net::Telnet::Cisco;

if ($#ARGV != 2 ) {
	print "usage: script ciscoip username password file\n";
	exit;
}
$ip=$ARGV[0];
$un=$ARGV[1];
$pw=$ARGV[2];
$file=$ARGV[3];

my $session = Net::Telnet::Cisco->new(Host => $ip);
$session->login($un, $pw);

my @output = $session->cmd('show run');

$foo = join('', @output);

Open in new window


all you would need to do is output it to a file with the $file argument

and then you can use a batch file with all the details (or some other way) to export the configs
0
InteraXCommented:
Hi there.

If you are backing up a switch, I would recommend copying off either the running-config or the startup-config PLUS the vlan.dat file. This additional file is the VLAN database and without this, your config may end up being useless.

The ASA should only need the running-config or the startup-config.

I would also recommend against using the output of sh run as passwords and VPN preshared keys and other items can be left out or hidden from a sh run. I would recommend using a command to copy the files over the network.
0
AlexPaceCommented:
I use Robo-FTP for stuff like that.  If you want to run it as a Windows scheduled task then script would be something like:
WORKINGDIR "c:\local\archive"
FTPLOGON "sftp.myserver.tld" /user="UserID" /pw="secret" /servertype=SFTP /trust=all
RCVFILE "running-config" 
RCVFILE "vlan.dat" 
FTPLOGOFF

Open in new window

You could also set it up to run as a Windows Service by changing the script to run as a loop with a big PAUSE /for=xxx at the bottom where xxx is the number of seconds between loop iterations and then you have a GOTO that send it back to the top.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Network Management

From novice to tech pro — start learning today.