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.

Hi Thanks for your help, I would like to be able to back up my config, every time I write it. It's pretty simple to do with IOS and the archive fe...
3 days 2 hours ago
Originally there was a problem with connecting to the mail server and the following error would generate as a result of testing the script:   *Oct...
4 weeks 22 hours ago
Originally there was a problem with connecting to the mail server and the following error would generate as a result of testing the script:   *Oct...
4 weeks 22 hours ago
Hi Experts: We have an EEM script that will execute local-pref/as-path prepending changes when a tracked object goes down.  As soon as it comes bac...
3 months 1 week ago
Wanting the ability to track when default route goes away, then wait a certain period of time, like 60 seconds, check default once more to make sur...
4 months 3 days 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 Help with EEM applet to backup config via SCP for Nexus ?
Last Reply 9 min ago.
6 0 0 1 dukenuk96
discussion regular syslog message during condition
Last Reply 3 days 22 hours ago.
13 0 5 2 leogal777
discussion do basic remote troubleshooting of C891F router using CEEM
Last Reply 4 days 20 hours ago.
14 0 0 1 Joe Clarke
discussion show int status with EEM or any script
Last Reply 5 days 22 hours ago.
48 0 5 3 Joe Clarke
discussion How run EEM/TCL script from file
Last Reply 1 week 3 days ago.
61 0 5 2 Federico Olivieri
discussion EEM to send mail when interface load is high
Last Reply 1 week 5 days ago.
62 0 0 2 Cisco Freak
discussion sys_reqinfo_snmp response vs. response from cli snmp get v2
Last Reply 2 weeks 4 days ago.
17 0 5 2 Gregory Iiams
discussion sendmail tcl eem policy not working
Last Reply 2 weeks 5 days ago.
161 0 5 18 Andreas Schneider
discussion TCL: Save Ping Output to a File
Last Reply 2 weeks 5 days ago.
30 0 5 1 Joe Clarke
discussion EEM CDP and LACP BPBUs
Last Reply 3 weeks 3 hours ago.
22 0 0 1 Philip D'Ath
discussion Cisco ASA EEM Variables
Last Reply 3 weeks 2 days ago.
120 0 0 9 Christian Maier
discussion Regular expressions in EEM - Syslog pattern
Last Reply 3 weeks 3 days ago.
48 0 5 2 Links3000
discussion why cisco adopt tcl as eem script language but not perl or lua?
Last Reply 3 weeks 5 days ago.
37 0 5 1 Joe Clarke
discussion EEM/TCL - Disable Inactive Ports
Last Reply 3 weeks 6 days ago.
187 0 5 27 Shawnw4401
discussion eem action file -no write to file possible
Last Reply 4 weeks 1 day ago.
17 0 5 2 Martin Ermel
discussion EEM Email Script - Error in reply from E-mail Server
Last Reply 1 month 19 hours ago.
29 0 5 2 Links3000
discussion EEM Email Script - Error in reply from E-mail Server
Last Reply 1 month 1 day ago.
4 0 0 0 Links3000
discussion EEM Email Script - Error in reply from E-mail Server
Last Reply 1 month 1 day ago.
10 0 0 0 Links3000
discussion Deny access Viber
Last Reply 1 month 4 days ago.
10 0 0 1 mhguissi70
discussion replacing . with \. in string
Last Reply 1 month 4 days ago.
37 0 3 7 Joe Clarke
discussion what is Variable in EEM?
Last Reply 1 month 1 week ago.
41 0 0 1 leogal777
discussion How can I generate a log with the interface description via EEM script from 2960 when port security violation occur
Last Reply 1 month 2 weeks ago.
66 0 5 3 Joe Clarke
discussion EEM TCL SCRIPT NOT WORKING IN CISCO ROUTER 2921 with 4 Voice E & M interfaces
Last Reply 1 month 2 weeks ago.
38 0 0 6 karunakj80
discussion EEM script triggered by SNMP OID
Last Reply 1 month 3 weeks ago.
56 0 0 2 Cinthia Martinez
discussion EEM Applet Capturing Multiple Words
Last Reply 1 month 3 weeks ago.
35 0 5 1 Joe Clarke
Filter Results
Subject Views Rating Comments Author
Geo Fence
Last Reply 6 min 4 sec ago.
303
5.0
0 Daniel Frey
Monitor the byte count over 4G Cellular interface(s)
Last Reply 1 week 20 hours ago.
524
0.0
5 Daniel Frey
Cisco EEM Basic Overview and Sample Configurations
Last Reply 1 week 3 days ago.
72732
4.7
22 ashirkar
Interface Input Queue Monitor
Last Reply 1 week 3 days ago.
1468
0.0
2 Jason Pfeifer
SNMP trap over SMS
Last Reply 2 weeks 13 min ago.
4
0.0
0 Daniel Frey
Do action by EEM+TCL after the log happen X Times in Y LC/RSP at ASR9k
Last Reply 2 weeks 15 hours ago.
0
0.0
0 Yong Zhao
How to configure a Cisco Router to Auto Update Unotelly with its IP address
Last Reply 4 weeks 8 hours ago.
9
0.0
0 Philip D'Ath
EEM Script To Get EIGRP verification commands when the neighbors flap
Last Reply 1 month 3 weeks ago.
3018
0.0
1 SunilKhanna
How To Introduce Large Delays In EEM Policies
Last Reply 2 months 1 day ago.
44
0.0
0 Joe Clarke
EEM Lightweight AAA Server Sample
Last Reply 2 months 2 weeks ago.
1038
5.0
2 Jason Pfeifer
Cisco EEM Best Practices
Last Reply 3 months 1 week ago.
49521
4.9
9 mtimm
Restore LTE service
Last Reply 3 months 3 weeks ago.
101
0.0
0 Daniel Frey
Migration code to move from tclsh to EEM Tcl
Last Reply 4 months 1 day ago.
25
0.0
0 Joe Clarke
How To Send MIME Attachments Using EEM
Last Reply 4 months 1 week ago.
2216
4.0
17 Joe Clarke
Automatically Set Port Descriptions
Last Reply 4 months 1 week ago.
7388
5.0
67 Joe Clarke
Commands over SMS
Last Reply 7 months 4 days ago.
2031
5.0
13 Daniel Frey
Multiple Pipe Support
Last Reply 7 months 1 week ago.
3171
0.0
3 Jason Pfeifer
EEM Built-in "Action" Variables
Last Reply 7 months 2 weeks ago.
4695
5.0
4 Joe Clarke
Email Top Talker reports from your router
Last Reply 11 months 1 day ago.
1301
0.0
2 netcproject
EEM script to fix invalid PAT entries when using NVI and using a dynamic IP address
Last Reply 1 year 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 1 year 1 month ago.
241
0.0
0 Premnijesh Jeyapalan
PONG on IOS
Last Reply 1 year 2 months ago.
396
5.0
0 thulsdau
EEM Script For Periodically Clearing Interface Counters Using Regular Expression
Last Reply 1 year 2 months ago.
4016
5.0
2 ashirkar
Tclsh implementation of host - NM
Last Reply 1 year 2 months ago.
1801
5.0
11 Jason Pfeifer
Nexus: Host port delay based on uplink bring-up
Last Reply 1 year 3 months ago.
166
0.0
2 cobedien
Filter Results
Subject Views Rating Comments Author
blog Automating Cisco Live 2014 In San Francisco
Last Reply 1 year 6 months ago.
1283
5.0
0 Joe Clarke
Filter Results
EEM Scripting
Views: 250
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
EEM Scripting
Views: 220
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (2 ratings)
Filter Results
There are no events for this community.

Announcements

Actions

 
 

Featured Content

Popular Discussions

Popular Documents

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