EEM Scripting

Try Cisco's Embedded Event Manager (EEM) Applet Converter to help convert from applets to Tcl.

The Cisco Embedded Event Manager (EEM) scripting Technical Support Forum gives you access to participate in tech discussions and go through documents on Capacity Planning Diagnostics, EEM for IOS-XR, EEM for NX-OS, Embedded Automation Systems (EASy), EEM script examples and other EEM scripting related issues. You can browse through latest technical content and get an overview on Cisco EEM scripting; current tech topics that are hot among the community including OSPF LSA vulnerability monitoring, Memory leak related to IKE EEM scripts. We encourage you to develop EEM scripts and share them with others by uploading them here.

Need help converting from applets to Tcl?  Try our EEM Applet Converter.

 

Provide answers to questions in this community that are awaiting a correct answer.

I have an 1841 router on c1841-adventerprisek9-mz.151-4.M for lab purposes and it is the only piece of equipment I have that doesn't allow me to sa...
1 month 4 weeks ago
Hello, I'm looking for a simple eem script for enabling an SVI if its goes down. we have some issue is NX-OS running 6.0.2.(1) where we occure a SV...
2 months 3 days ago
Hi everybody!I've interested in Custom-MIB EEM Script, because I want to monitor via SNMP (PRTG) some IOS parameters that do not have SNMP oid.For...
2 months 5 days ago
HiKindly assist with a sample config of an EEM script of how i can periodically delete files collected in the hard disk for ASR 9010 cisco router.R...
2 months 3 weeks ago
has anyone tried to detect a eBGP peer failure and take action based on the failure? -I am trying to shutdown a couple of GRE tunnels ona router if...
3 months 1 week ago
         
Capacity Planning 22 10 0 0 0
Cisco Prime 1 0 0 0 0
Diagnostics 44 37 0 0 0
EEM for IOS-XR 85 10 0 0 0
EEM for NX-OS 42 1 0 0 0
Embedded Automation Systems (EASy) 24 1 0 0 0
High Availability 40 7 0 0 0
Network Management 126 47 0 0 0
Other 65 11 0 0 0
QOS 9 3 0 0 0
Routing 34 6 0 0 0
Security 10 14 0 1 0
User Interface 23 30 0 1 0
Filter Results
Subject Views Votes Rating Replies Last replied by
discussion string range variable
Last Reply 9 min 57 sec ago.
3 0 0.0 1 Joseph Clarke
discussion Detect Proxy ARP Connection and Get Interface Down by EEM
Last Reply 12 min 23 sec ago.
20 0 0.0 1 Joseph Clarke
discussion Action syslog in EEM script does not work when logging filter is configured
Last Reply 2 days 34 min ago.
7 0 0.0 1 Joseph Clarke
discussion Help: TCL Syntax for redirecting output to a file
Last Reply 5 days 1 hour ago.
37 0 5 4 Joseph Clarke
discussion Active/Active, multi homed BGP, dual router , HSRP config
Last Reply 5 days 9 hours ago.
1486 0 0.0 2 eahmed007
discussion Issue with Monitor the byte count over 4G Cellular interface script
Last Reply 6 days 17 hours ago.
116 0 5 13 lbushman1
discussion Trying to get a TCL script to execute within a Cisco EEM (cronjob based)
Last Reply 1 week 22 hours ago.
34 0 0.0 4 j.loduca
discussion eem script for console detection ?
Last Reply 1 week 1 day ago.
23 0 0.0 2 Ji Won Park
discussion why do I get message - tty is now going through its death sequence ?
Last Reply 1 week 3 days ago.
27 0 0.0 3 Joseph Clarke
discussion PERL scripting | CISCO
Last Reply 1 week 3 days ago.
73 0 0.0 5 Joseph Clarke
discussion Query all interfaces
Last Reply 1 week 3 days ago.
742 0 5 12 Joshuskarki
discussion bgp neighbor count
Last Reply 1 week 6 days ago.
21 0 5 1 Daniel Frey
discussion EEM Script to capture MAC address from syslog message
Last Reply 1 week 6 days ago.
43 0 0.0 3 Daniel Frey
discussion SNMP OID - EEM
Last Reply 2 weeks 2 days ago.
42 0 5 2 EU UC Support
discussion Redirecting TCL output to a file
Last Reply 2 weeks 2 days ago.
41 0 5 1 CHARLES HILL
discussion Run the script immediately without waiting watchdog timer
Last Reply 2 weeks 4 days ago.
35 0 5 1 Joseph Clarke
discussion EEM Applet - Delay sending of email alert on route removal
Last Reply 2 weeks 4 days ago.
62 0 0.0 5 Joseph Clarke
discussion SNMP OID Event Detector Correlation
Last Reply 2 weeks 6 days ago.
35 0 0.0 1 Joseph Clarke
discussion Can EEM detect the routers prompt?
Last Reply 2 weeks 6 days ago.
49 0 0.0 1 Joseph Clarke
discussion Output not appending to file
Last Reply 3 weeks 2 days ago.
35 1 0.0 2 afirdaus068
discussion Try to using TCL to read out the management IP address, then using the IP as backup file name by Korn
Last Reply 3 weeks 6 days ago.
25 0 0.0 1 shan huang
discussion EEM timer trigger stopped working
Last Reply 1 month 2 days ago.
65 0 5 6 Ralph Mondegar
discussion Having problem when I email the results of a config change from eem
Last Reply 1 month 6 days ago.
31 0 0.0 2 TODD RIEMENSCHNEIDER
discussion eem: server has no available thread
Last Reply 1 month 1 week ago.
96 0 0.0 7 ivanov.arseniy
discussion HTTP Event Detector
Last Reply 1 month 1 week ago.
32 0 5 2 Gregory Iiams
Filter Results
Subject Views Rating Comments Author
Multiple Pipe Support
Last Reply 36 min 54 sec ago.
2850
0.0
3 jpfeifer
Automatically Set Port Descriptions
Last Reply 3 days 2 hours ago.
5919
5.0
58 Joseph Clarke
EEM Built-in "Action" Variables
Last Reply 1 week 1 day ago.
3883
5.0
4 Joseph Clarke
Commands over SMS
Last Reply 1 month 3 weeks ago.
1393
5.0
12 Daniel Frey
Cisco EEM Basic Overview and Sample Configurations
Last Reply 2 months 1 week ago.
53584
4.8
18 ashirkar
Email Top Talker reports from your router
Last Reply 3 months 3 weeks ago.
1222
0.0
2 netcproject
Monitor the byte count over 4G Cellular interface(s)
Last Reply 4 months 4 weeks ago.
388
0.0
0 Daniel Frey
EEM script to fix invalid PAT entries when using NVI and using a dynamic IP address
Last Reply 5 months 3 weeks ago.
1
0.0
0 Vittorio Alfieri
EEM script for Installation and Activation of IPsec/CGN OVA package on ASR9K routers
Last Reply 6 months 2 weeks ago.
202
0.0
0 Premnijesh Jeyapalan
PONG on IOS
Last Reply 7 months 1 week ago.
311
5.0
0 thulsdau
EEM Script For Periodically Clearing Interface Counters Using Regular Expression
Last Reply 7 months 2 weeks ago.
3256
5.0
2 ashirkar
Tclsh implementation of host - NM
Last Reply 7 months 2 weeks ago.
1595
5.0
11 jpfeifer
Nexus: Host port delay based on uplink bring-up
Last Reply 8 months 2 weeks ago.
115
0.0
2 cobedien
Geo Fence
Last Reply 8 months 3 weeks ago.
193
0.0
0 Daniel Frey
Automatic NBAR Protocol Pack Upgrader
Last Reply 9 months 2 weeks ago.
91
0.0
0 anbv
ASR9000 EEM Script repository
Last Reply 10 months 4 days ago.
209
0.0
0 Santosh Sharma
EEM script to log committed configs to syslog
Last Reply 10 months 1 week ago.
825
0.0
0 Santosh Sharma
Cisco EEM Best Practices
Last Reply 10 months 2 weeks ago.
41872
5.0
6 mtimm
findmyrouter.zip
Last Reply 10 months 3 weeks ago.
872
0.0
0 Daniel Frey
OSPF Neighbor Discovery with DNS Lookup
Last Reply 10 months 4 weeks ago.
67
0.0
0 Florian Holzapfel
EEM script to save logs in a file every 30 mins
Last Reply 12 months 13 hours ago.
201
0.0
0 Santosh Sharma
Auto-Configure Based on Connected Network
Last Reply 1 year 2 days ago.
1114
5.0
7 Joseph Clarke
GPS NMEA streaming over UDP
Last Reply 1 year 1 week ago.
395
0.0
0 Daniel Frey
Service Diagnostics - QOS
Last Reply 1 year 1 month ago.
432
0.0
2 jpfeifer
A Simple EEM script to alert on IP SLA failures
Last Reply 1 year 2 months ago.
3482
3.0
1 ashirkar
Filter Results
Subject Views Rating Comments Author
blog Automating Cisco Live 2014 In San Francisco
Last Reply 11 months 2 weeks ago.
758
5.0
0 Joseph Clarke
Filter Results
EEM Scripting
Views: 190
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
EEM Scripting
Views: 161
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (2 ratings)
Filter Results
There are no events for this community.

Actions

 
 

Featured Content

Popular Discussions

Popular Documents

Rank Username Points
1 64
2 37
3 19
4 15
5 10
Rank Username Points
5
5