cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
489
Views
0
Helpful
1
Replies

How to take backup of configurations of routers/switches by automated script

Dear All,

 

Can any one suggest a script or batch file to take backup of routers/switches configurations just like an automated tool.

When we start a script , it should prompt for username and password and will give us the output in a textfile .

 

Thanks ,

Mohammad.

1 Reply 1

Steve Fuller
Level 9
Level 9

Hi Mohammed,

I’m sure there are many others, but you might want to take a look at the Really Awesome New Cisco Config Differ (RANCID) tool.

If you have Linux servers you can install from source or as an RPM. If you configure it in cron it will collect the device configurations periodically and maintain the difference in a Concurrent Versioning System (CVS). You can also use the tool to run commands, either specified on the CLI or stored in a file, against one or more devices.

The blog Getting started with RANCID has a good explanation on its use and has a number of examples of running commands as you need.

Regards

Review Cisco Networking for a $25 gift card