troubleshooting Question

Cisco EEM applet help

Avatar of cb_it
cb_itFlag for United States of America asked on
Routers
4 Comments1 Solution744 ViewsLast Modified:
I'm new to EEM so please be gentle. I created 2 applets as you can see below. I'm trying to shutdown and interface at 10:15 and then bring it back up 5 minutes later. This did not work. Anything wrong with what I did?

Also, how do I go into the EEM to see what applets are there? Is there some type of view command? Also, how would I edit one of these applets, for example if I wanted to remove the event timer.

router1e#config t
Enter configuration commands, one per line.  End with CNTL/Z.
router1(config)#event manager applet shutdown_port
router1(config-applet)#event timer cron cron-entry "15 10 * * *"
router1(config-applet)#action 010 cli command "enable"
router1(config-applet)#action 020 cli command "config t"
router1(config-applet)#action 030 cli command "int fa0/0"
router1(config-applet)#action 040 cli command "shut"
router1(config-applet)#action 050 cli command "end"^Z
router1#

router1e#config t
Enter configuration commands, one per line.  End with CNTL/Z.
router1(config)#event manager applet noshut_port
router1(config-applet)#event timer cron cron-entry "20 10 * * *"
router1(config-applet)#action 010 cli command "enable"
router1(config-applet)#action 020 cli command "config t"
router1(config-applet)#action 030 cli command "int fa0/0"
router1(config-applet)#action 040 cli command "no shut"
router1(config-applet)#action 050 cli command "end"^Z
router1#
ASKER CERTIFIED SOLUTION
harbor235

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 4 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros