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'm trying to get my 2960s to detect the connection of an Access Point and then switch the port from a 802.1.X authenticated port to a trunk.I have...
by kkelly
8 hours 9 min ago
event manager applet TCL_RUN event timer cron cron-entry "* * * * *" action 1   cli command "enable" action 1.1 cli command "tclsh nvram:sid5.tcl" ...
1 week 1 day ago
NX-OS snmp-trap strdata does not return string sent from device to object serverApplet was created:    event manage applet TEST_VPC    description...
1 month 6 days ago
On a Cisco887VAG+7-K9 router, I'm using IP SLA and EEM to track connectivity via my ADSL line, if connectivity is UP then the 3G interface is admin...
by mitchen
1 month 3 weeks ago
I have a situation where a firewall is connected off of an ASR9k (theres an L2 switch between the firewall and 9k)...HSRP primary as well as firewa...
2 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 86 10 0 0 0
EEM for NX-OS 43 1 0 0 0
Embedded Automation Systems (EASy) 24 1 0 0 0
High Availability 40 7 0 0 0
Network Management 127 48 0 0 0
Other 65 11 0 0 0
QOS 9 3 0 0 0
Routing 35 6 0 0 0
Security 10 14 0 1 0
User Interface 23 31 0 1 0
Filter Results
Subject Views Votes Rating Replies Last replied by
discussion How do I debug Smartport Macros
Last Reply 19 min 25 sec ago.
0 0 0.0 0 kkelly
discussion Calling a variable in regular expression
Last Reply 1 day 1 hour ago.
30 0 5.0 7 cory.hebert@eds.com
discussion Problem in my EEM : no tty lines available
Last Reply 1 week 4 hours ago.
51 0 0.0 4 ilhem200943
discussion EEM Email Script Not Working
Last Reply 1 week 4 hours ago.
171 0 0.0 6 Joseph Clarke
discussion EEM script not working
Last Reply 1 week 1 day ago.
21 0 0.0 0 sidtyagi
discussion Cisco router interface threshold
Last Reply 1 week 4 days ago.
75 0 5.0 12 ncd@global-e.nl
discussion Q: How to create new CLI via EEM ?
Last Reply 1 week 4 days ago.
26 0 0.0 1 Joseph Clarke
discussion Using EEM to telnet to switches and execute commands
Last Reply 1 week 5 days ago.
52 0 0.0 5 Reid Cheng
discussion Nexus 5K Python Access Error
Last Reply 1 week 5 days ago.
51 0 5.0 3 Joseph Clarke
discussion EEM / IP SLA to shutdown lossy high RTT BGP neighbor
Last Reply 1 week 6 days ago.
42 0 0.0 2 strangeroad
discussion EEM-tcl trigger using customized syslog not working.
Last Reply 1 week 6 days ago.
16 0 0.0 1 Joseph Clarke
discussion 3G Dual SIM failover on Cisco887VAG-K9
Last Reply 2 weeks 22 hours ago.
37 0 0.0 4 thilinar8
discussion How to revert config on router startup?
Last Reply 2 weeks 1 day ago.
37 0 0.0 3 Joseph Clarke
discussion Run EEM applet on login
Last Reply 2 weeks 6 days ago.
56 0 3.0 3 Joseph Clarke
discussion EEM for EIGRP Neighbor
Last Reply 3 weeks 4 days ago.
63 0 5.0 3 John Patrick Lopez
discussion EEM Policy that removes itself then does a 'write mem'
Last Reply 3 weeks 4 days ago.
46 0 5.0 2 Joseph Clarke
discussion High CPU Script Explanation
Last Reply 3 weeks 5 days ago.
111 0 5.0 4 carltonpatterson
discussion SDN and Openflow within GNS3
Last Reply 4 weeks 5 hours ago.
98 0 0.0 3 Joseph Clarke
discussion One router, dual circuits, and passive interfaces
Last Reply 4 weeks 1 day ago.
27 0 0.0 2 cory.hebert@eds.com
discussion Create an EEM to find a port (mac address)
Last Reply 1 month 2 days ago.
159 0 5.0 7 andre.ortega
discussion EEM script for interface errors threshold
Last Reply 1 month 6 days ago.
125 0 0.0 2 cory.hebert@eds.com
discussion NX-OS snmp-trap strdata does not return string sent from device to object server
Last Reply 1 month 6 days ago.
17 0 0.0 1 Joseph Clarke
discussion Using output from pwd in current directory
Last Reply 1 month 6 days ago.
20 0 0.0 1 Joseph Clarke
discussion NX-OS snmp-trap strdata does not return string sent from device to object server
Last Reply 1 month 6 days ago.
12 0 0.0 0 fighters05
discussion EEM script for high CPU
Last Reply 1 month 1 week ago.
248 0 0.0 2 cory.hebert@eds.com
Filter Results
Subject Views Rating Comments Author
Cisco EEM Best Practices
Last Reply 6 days 1 hour ago.
30282
5.0
5 mtimm
EEM Script For Periodically Clearing Interface Counters Using Regular Expression
Last Reply 1 week 21 hours ago.
2042
0.0
0 ashirkar
findmyrouter.zip
Last Reply 2 weeks 4 days ago.
701
0.0
0 Daniel Frey
TCL script: Listing configuration around the router subinterface
Last Reply 3 weeks 1 day ago.
220
0.0
0 evgenyzhur
Geo Fence
Last Reply 1 month 9 hours ago.
30
0.0
0 Daniel Frey
Cisco EEM Basic Overview and Sample Configurations
Last Reply 1 month 4 days ago.
24914
4.7
6 ashirkar
Monitor the byte count over 4G Cellular interface(s)
Last Reply 1 month 2 weeks ago.
95
0.0
0 Daniel Frey
SMS notification when interface changes up/down state
Last Reply 1 month 2 weeks ago.
90
0.0
0 Daniel Frey
configoversms.zip
Last Reply 2 months 2 days ago.
208
0.0
0 Daniel Frey
Determining the Version of EEM on an IOS® Device
Last Reply 2 months 1 week ago.
6038
4.8
1 Joseph Clarke
EEM Script to Manually flap the error disabled interface
Last Reply 2 months 1 week ago.
138
0.0
0 santsha2
EEM script to reload the Linecard in ASR9000
Last Reply 2 months 1 week ago.
92
0.0
0 santsha2
EEM TCL Script to Provide LTE status, GPS and Ping results via SMS Text Message (sms_lte_sgp.tcl)
Last Reply 3 months 1 week ago.
458
0.0
0 dmindel
EEM Built-in "Action" Variables
Last Reply 3 months 2 weeks ago.
2570
5.0
4 Joseph Clarke
Suspend Inactive Ports
Last Reply 3 months 2 weeks ago.
201
0.0
0 Joseph Clarke
Tclsh implementation of host - NM
Last Reply 4 months 2 weeks ago.
1147
5.0
4 jpfeifer
Tclsh implementation of host
Last Reply 4 months 2 weeks ago.
489
0.0
2 jpfeifer
gps_time.zip
Last Reply 5 months 1 week ago.
148
0.0
0 Daniel Frey
TAC Security Podcast #38 - Introduction to OnePK
Last Reply 5 months 1 week ago.
449
5.0
3 Jay Johnston
Automatically Set Port Descriptions
Last Reply 5 months 1 week ago.
3824
5.0
48 Joseph Clarke
A Simple EEM script to alert on IP SLA failures
Last Reply 5 months 3 weeks ago.
1990
3.0
1 ashirkar
John Lautmann's web server demo-20120612 1824-1.zip
Last Reply 6 months 5 days ago.
562
0.0
3 jlautman
Memory leak related to IKE - EEM script
Last Reply 6 months 1 week ago.
835
0.0
0 pkampana
Monitor Interface Utilization on NX-OS
Last Reply 8 months 6 days ago.
2680
4.5
2 Joseph Clarke
EASy "movement of devices"
Last Reply 8 months 1 week ago.
315
0.0
1 jpfeifer
Filter Results
There are no blogs for this community.
Filter Results
Demonstrations of some of the features added in EEM version 4.0.
EEM Scripting
Views: 88
  • 1
  • 2
  • 3
  • 4
  • 5
Average Rating: 5 (1 ratings)
A demo showing how the simple EEM AAA server works.
EEM Scripting
Views: 71
  • 1
  • 2
  • 3
  • 4
  • 5
Average Rating: 5 (2 ratings)
Filter Results
There are no events for this community.

Actions

Login or Register to take actions
 

Popular Discussions

Popular Documents