02-03-2016 01:30 AM - edited 02-21-2020 05:43 AM
Hi Friends,
I am working on Cisco Switches, Routers and ASA Firewall.
I wanted to learn some scripting for cisco devices, Which will be help full in future like taking auto backup, trouble shooting...
Please suggest me which one is the best for cisco devices.
Thanks & Regards,
Srinivas. N
02-03-2016 01:59 AM
EEM/TCL scripting is prob want your looking for
Kron as well can be used for backups
https://supportforums.cisco.com/community/5941/eem-scripting
http://www.cisco.com/c/en/us/support/docs/ios-nx-os-software/ios-embedded-event-manager-eem/116176-technote-eemscripts-00.html
http://www.cisco.com/c/en/us/td/docs/ios-xml/ios/cns/configuration/xe-3s/asr1000/cns-xe-3s-asr1000-book/cns-cmd-sched.html
02-03-2016 02:02 AM
Mmm, this has multiple angles. On device. Off device.
Personally I like PERL. PERL runs on a workstation or server, not on a Cisco device. It has excellent text handling and manipulation capabilities. Masses of examples on Google. Millions of add on modules available.
You can easily create scripts to log into devices, run commands, parse output, etc.
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