Skip to Content

EEM to execute a CLI Command every 15 minutes

2 replies [Last post]
jlma81
jlma81's picture
Offline
Joined: 2012-08-09
Posts: 1

Hello everybody, I am new in EEM please help me with a link where I can find tutorials.

I got this problem: I want to execute a CLI Command every 15 minutes for example, and to send that to an FTP Server.

If someone can help me please answer.

No votes yet
Adam
Adam's picture
Offline
Site Admin
Joined: 2010-01-16
Posts: 144

Here is a link to a Cisco page with an introduction to EEM:
https://learningnetwork.cisco.com/blogs/network-sheriff/2009/06/19/writi...

And here is another link to a Cisco page, but this one is more of a reference:
http://www.cisco.com/en/US/docs/ios/netmgmt/configuration/guide/nm_eem_p...

Brain2000
Brain2000's picture
Offline
Joined: 2012-09-16
Posts: 10

Try this:

event manager applet ABCD
event timer cron cron-entry "0,15,30,45 * * * *"
action 01 cli command "enable"
action 02 cli command "config term"
action 03 cli command "....."

You must be signed in to contribute to the forums.

Not registered? Click here to create an account. It only takes a minute and it's free!

Already signed up? Click here to login.



Dr. Radut | forum