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.

TCL or EEM Has anyone been able to trigger a TCL or EEM when a Router loses a default route from its routing table/
22 min 50 sec ago
Hello everybody,I´m pretty unaware of all this tcl scripting stuff so hopefully someone of you can help me out. I need a tcl script that resets all...
3 hours 34 min ago
Hi All, I’ve got a below script from Joseph to shut down an interface with log(192.168.0.254).The script is working perfect.But I would to have ano...
1 month 5 days ago
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...
3 months 3 weeks 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 Trigger by default Route
Last Reply 22 min 50 sec ago.
0 0 0 0 astoffel1
discussion Need tcl script to reset interfaces
Last Reply 3 hours 34 min ago.
0 0 0 0 steffen.bodensohn
discussion Need to shut down port if remote port does not respond to ICMP
Last Reply 19 hours 8 min ago.
89 0 0 3 Joseph Clarke
discussion track state checking every 15 minutes
Last Reply 2 days 5 hours ago.
13 0 0 3 Joseph Clarke
discussion Cisco Nexus - Event manager skip command
Last Reply 6 days 2 hours ago.
9 0 0 1 Joseph Clarke
discussion EEM to Shut down FEX ports
Last Reply 1 week 2 hours ago.
31 0 0 7 Joseph Clarke
discussion "Dirty Circuit" script not working
Last Reply 1 week 6 hours ago.
22 0 0 2 CORY HEBERT
discussion EEM Auto Access Point Scipt
Last Reply 1 week 1 day ago.
23 0 0 1 Joseph Clarke
discussion workaround for using EEM on NXOS
Last Reply 1 week 1 day ago.
10 0 0 1 Alex Steer
discussion Script to disable G0/0 port if assigned IP address is not reachable
Last Reply 1 week 2 days ago.
61 0 5 6 alexanderkieser
discussion EEM not matching on SLA
Last Reply 1 week 3 days ago.
11 0 0 2 westj@tcstampa.com
discussion How to retrieve a string from debug log using tcl
Last Reply 1 week 6 days ago.
22 0 5 4 Joseph Clarke
discussion EEM Event is overwritting incorrect NAT statement
Last Reply 1 week 6 days ago.
7 0 5 6 westj@tcstampa.com
discussion Running a batch file for multiple commands (lose connection)
Last Reply 2 weeks 2 days ago.
36 0 0 3 davidwatson1
discussion EEM execution failing due to CLI nat question
Last Reply 2 weeks 3 days ago.
108 0 5 6 Destiny3986
discussion CLI to change IP SLB serverfarm config
Last Reply 3 weeks 5 hours ago.
33 0 5 5 Joseph Clarke
discussion EEM Versioning on 6500s
Last Reply 3 weeks 6 hours ago.
87 0 0 12 steven.crutchley
discussion TCL Script to change hostnames from upper case letters to lower case
Last Reply 3 weeks 16 hours ago.
57 0 5 6 packettracer86
discussion Cisco IOS XR EEM
Last Reply 3 weeks 3 days ago.
423 0 5 46 mkhalil10
discussion EEM-tcl trigger using customized syslog not working.
Last Reply 3 weeks 4 days ago.
51 0 0 2 Joseph Clarke
discussion EEM event correlate
Last Reply 3 weeks 5 days ago.
102 0 5 5 rosaho
discussion dial-peer busyout
Last Reply 3 weeks 5 days ago.
74 0 0 1 rosaho
discussion EEM with TCL
Last Reply 3 weeks 5 days ago.
57 0 0 1 rosaho
discussion TCL: how do i take the control of file handle inside a thread
Last Reply 3 weeks 5 days ago.
43 0 0 1 rosaho
discussion We need to create a EEM Script to reload the Router nightly.
Last Reply 3 weeks 6 days ago.
52 0 0 2 kegutier
Filter Results
Subject Views Rating Comments Author
Cisco EEM Basic Overview and Sample Configurations
Last Reply 5 days 11 hours ago.
57759
4.8
20
Automatically Set Port Descriptions
Last Reply 2 weeks 6 days ago.
6435
5.0
64 Joseph Clarke
Commands over SMS
Last Reply 1 month 2 weeks ago.
1543
5.0
13 Daniel Frey
Multiple Pipe Support
Last Reply 1 month 3 weeks ago.
2943
0.0
3 jpfeifer
EEM Built-in "Action" Variables
Last Reply 2 months 1 day ago.
4125
5.0
4 Joseph Clarke
Email Top Talker reports from your router
Last Reply 5 months 2 weeks ago.
1249
0.0
2 netcproject
Monitor the byte count over 4G Cellular interface(s)
Last Reply 6 months 3 weeks ago.
429
0.0
0 Daniel Frey
EEM script to fix invalid PAT entries when using NVI and using a dynamic IP address
Last Reply 7 months 2 weeks ago.
1
0.0
0 Vittorio Alfieri
EEM script for Installation and Activation of IPsec/CGN OVA package on ASR9K routers
Last Reply 8 months 1 week ago.
210
0.0
0 Premnijesh Jeyapalan
PONG on IOS
Last Reply 9 months 5 days ago.
332
5.0
0 thulsdau
EEM Script For Periodically Clearing Interface Counters Using Regular Expression
Last Reply 9 months 1 week ago.
3449
5.0
2
Tclsh implementation of host - NM
Last Reply 9 months 1 week ago.
1655
5.0
11 jpfeifer
Nexus: Host port delay based on uplink bring-up
Last Reply 10 months 1 week ago.
130
0.0
2 cobedien
Geo Fence
Last Reply 10 months 2 weeks ago.
196
0.0
0 Daniel Frey
Automatic NBAR Protocol Pack Upgrader
Last Reply 11 months 1 week ago.
95
0.0
0 anbv
ASR9000 EEM Script repository
Last Reply 11 months 3 weeks ago.
234
0.0
0 Santosh Sharma
EEM script to log committed configs to syslog
Last Reply 12 months 2 days ago.
832
0.0
0 Santosh Sharma
Cisco EEM Best Practices
Last Reply 1 year 4 days ago.
43548
5.0
6 mtimm
findmyrouter.zip
Last Reply 1 year 2 weeks ago.
888
0.0
0 Daniel Frey
OSPF Neighbor Discovery with DNS Lookup
Last Reply 1 year 2 weeks ago.
73
0.0
0 Florian Holzapfel
EEM script to save logs in a file every 30 mins
Last Reply 1 year 1 month ago.
231
0.0
0 Santosh Sharma
Auto-Configure Based on Connected Network
Last Reply 1 year 1 month ago.
1148
5.0
7 Joseph Clarke
GPS NMEA streaming over UDP
Last Reply 1 year 2 months ago.
440
0.0
0 Daniel Frey
Service Diagnostics - QOS
Last Reply 1 year 3 months ago.
442
0.0
2 jpfeifer
A Simple EEM script to alert on IP SLA failures
Last Reply 1 year 3 months ago.
3658
3.0
1
Filter Results
Subject Views Rating Comments Author
blog Automating Cisco Live 2014 In San Francisco
Last Reply 1 year 1 month ago.
1061
5.0
0 Joseph Clarke
Filter Results
EEM Scripting
Views: 216
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
EEM Scripting
Views: 187
  • 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