• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Backing up Cisco RTR Configs

bryantp

Senior member
I was looking for suggesting on where to start with this idea.

I want to be able to run a script that will log in and copy my RTRs config.

Say for example using PUTTY as the application, where PUTTY has the option to "LOG ALL SESSION OUTPUT". The script would initiate PUTTY and be preconfigured with user/pass. Then PUTTY would pull the information down to a specific directory.

Goal:
Back up RTR Configs

Obstacles:
Unsure of where to begin
Larger number of RTRs so need a script that is "standard" needing only to change user/pass

Any suggestions for where to start studying/reading up on this?

Thanks in advance
 
Better answer -

Use SNMP to make the router transfer its running config to a tftp server. No need for nasty telnet based scripts. The OID you need to make the magic happen is: .1.3.6.1.4.1.9.2.1.55.$IPADDR s <filenamedestination>
 
Have a look at RANCID here RANCID

It will backup configs and do a diff between backup up versions allowing change control in addition to the backups.
 
Back
Top