03-07-2017 12:16 AM
Can anyone write a script for taking backup ( Show run ) automatically in ASR 9k . I implemented a script that is working in 1905 router and ASR 1 k routers ,
archive
path tftp://10.10.10.1/BACKUP/$h
kron occurrence RTR-DAILY-BACKUP at 05:00 recurring
policy-list POLICY-RTR-DAILY-BACKUP
!
kron policy-list POLICY-RTR-DAILY-BACKUP conditional
cli archive config
Regards
Bichus
sbichus@gmail.com
03-07-2017 07:14 AM
hi Bichus,
IOS XR allows you to roll back the configuration to any point in the past. Hence the archiving of the running configuration is not necessary as it is the case on Classic IOS.
If you still want to do it, you can create an EEM/Tcl script for this purpose. You can find good examples at:
https://supportforums.cisco.com/document/12292156/asr9000-eem-script-repository
regards,
/Aleksandar
03-11-2017 12:22 AM
Thank you Aleksandar
03-09-2017 07:21 AM
Have you looked into RANCID or Oxidize? Their config backup methods work with IOS-XR. You can look at their templates and get an idea of how they do it.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide