automation of cisco commands
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2012 10:18 AM
Hello,
Is there way how to automatize cisco commands for maintenance like " clear conn " " sh ip interface brief" from a batch or tool?
Regards
- Labels:
-
Network Management

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2012 12:19 PM
Sure. That's what the Embedded Event Manager is for. With EEM. For example, to email you the output of "show ip int brie" every day:
event manager applet email-intfs
event timer cron cron-entry "0 8 * * *"
action 1.0 cli command "show ip int brief"
action 2.0 mail from user@example.com from user@example.com subject "Show IP Interface Brief" body "$_cli_result" server 10.1.1.1
More on EEM can be found at http://www.cisco.com/en/US/docs/ios/netmgmt/configuration/guide/nm_eem_overview.html .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2012 12:44 PM
Hello thank you for your response., but i would like to know if there is another tool differente from cisco for this kind of scheduel jobs.
Regards,

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2012 01:05 PM
There are a lot of network management tools that can automate running CLI commands. What a lot of users do is roll the Expect scripting language into their own tools. Expect is very flexible and will work across vendors.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2012 04:58 PM
hello, thank you for your comments, is there a tool similiar to catools maybe?
Regards,

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2012 06:41 AM
If you mean Kiwi CatTools, those will work with Cisco devices. If you're looking for free packages to do command scheduling, there is Nagios for general network monitoring and Rancid (http://www.shrubbery.net/rancid/) that can do automatic configuration backup and archive. On the Cisco commercial side, Cisco Prime LAN Management Solution offers both configuration management and schedulable batch command execution.
