Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

automation of cisco commands

Hello,

Is there  way how to automatize cisco commands for maintenance like " clear conn " " sh ip interface brief" from a batch or tool?

Regards

Everyone's tags (2)
5 REPLIES
Cisco Employee

Re: automation of cisco commands

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 .

New Member

Re: automation of cisco commands

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,

Cisco Employee

automation of cisco commands

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.

http://expect.sourceforge.net/

New Member

automation of cisco commands

hello, thank you for your comments, is there a tool similiar to catools maybe?

Regards,

Cisco Employee

automation of cisco commands

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.

1712
Views
0
Helpful
5
Replies
CreatePlease to create content