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.

Good day Community,My question is as follows, is it possible to configure an EEM script to log into another device (router or ASA to be more specif...
36 min 25 sec 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...
16 hours 36 min ago
Two EEMs are needed:1) Sweep the switch (4500) for 'down 'down' interfaces and 'shut' those interfaces2) When the syslog message 'Changed state to...
1 day 5 hours ago
Hello,I have a small dial pool - serves up to 4 telnet users and allows them to then dial out to remote devices (typically other Cisco routers/swit...
1 day 12 hours 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...
5 days 7 hours 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 Is it possible to use EEM to login via SSH to another device, and execute commands ?
Last Reply 36 min 25 sec ago.
0 0 0.0 0 czunigab
discussion TCL Script to track object and change PIM DR Priority
Last Reply 4 hours 13 min ago.
0 0 0.0 2 marcosdiaz
discussion Cisco IOS XR EEM
Last Reply 7 hours 58 min ago.
165 0 0.0 29 Joseph Clarke
discussion Here's a simple applet to add "do wr" to config mode
Last Reply 16 hours 36 min ago.
0 0 0.0 0 ian.m.covington
discussion EEM script to shut down unused ports.
Last Reply 1 day 5 hours ago.
0 0 0.0 0 Vinci TAC
discussion EEM monitorying over Reverse Telnet Session
Last Reply 1 day 12 hours ago.
0 0 0.0 0 ROBERT STEVENS
discussion EEM problem with "event timer absolute time"
Last Reply 2 days 8 hours ago.
0 0 0.0 1 Joseph Clarke
discussion NX-OS EEM script for SVI
Last Reply 5 days 7 hours ago.
0 0 0.0 0 adil-taleb
discussion EEM Applet SSH won't get passed Enable Prompt
Last Reply 1 week 17 min ago.
10 0 0.0 3 Joseph Clarke
discussion EEM for high CPU C4510R with SUP7E
Last Reply 1 week 5 hours ago.
1389 1 0.0 6 dcgl
discussion Parse Running Config with TcL
Last Reply 1 week 10 hours ago.
8 0 0.0 1 Joseph Clarke
discussion Script / Tracker repeat
Last Reply 1 week 10 hours ago.
22 0 5 4 sprocket10
discussion ::cisco::eem::event_register_stat name ifstats-datarate
Last Reply 1 week 1 day ago.
1204 1 5 8 ffigueroaz
discussion EEM and SNMP and SIP
Last Reply 1 week 1 day ago.
6 0 0.0 1 Chris McGarrah
discussion TCL Script to read out and change interface vlan IP address
Last Reply 1 week 1 day ago.
34 0 0.0 6 packettracer86
discussion Add MAC Address to interface on Up, remove from down EEM
Last Reply 1 week 3 days ago.
21 0 5 1 Joseph Clarke
discussion Need to shut down port if remote port does not respond to ICMP
Last Reply 1 week 5 days ago.
13 0 0.0 1 Joseph Clarke
discussion EEM script to monitor primary link & secondary link and choose the Best.
Last Reply 1 week 5 days ago.
90 0 0.0 2 makramccie
discussion TCL script using EEM to append output to a file
Last Reply 2 weeks 16 hours ago.
37 0 0.0 2 Alex Zonnoorian
discussion EEM alert based on NAT Pool utilization
Last Reply 2 weeks 22 hours ago.
25 0 5 4 XIE YAO
discussion EEM to change a switch port on event
Last Reply 2 weeks 1 day ago.
28 0 0.0 3 Daniel Frey
discussion If DHCP fails, give static IP EEM script
Last Reply 2 weeks 2 days ago.
25 0 5 2 Cory Anderson
discussion EEM - event timer cron problem
Last Reply 2 weeks 2 days ago.
19 0 5 2 b.petronio
discussion eem scripting for IP SLA
Last Reply 2 weeks 6 days ago.
63 0 0.0 2 Daniel Frey
Filter Results
Subject Views Rating Comments Author
Cisco EEM Basic Overview and Sample Configurations
Last Reply 1 week 2 days ago.
48116
4.8
18
Email Top Talker reports from your router
Last Reply 1 month 2 weeks ago.
1193
0.0
2 netcproject
Commands over SMS
Last Reply 3 months 3 weeks ago.
1230
5.0
12 Daniel Frey
Monitor the byte count over 4G Cellular interface(s)
Last Reply 1 year 2 months ago.
332
0.0
0 Daniel Frey
EEM script to fix invalid PAT entries when using NVI and using a dynamic IP address
Last Reply 3 months 2 weeks ago.
22
0.0
0 Vittorio Alfieri
EEM script for Installation and Activation of IPsec/CGN OVA package on ASR9K routers
Last Reply 4 months 2 weeks ago.
187
0.0
0 Premnijesh Jeyapalan
PONG on IOS
Last Reply 5 months 1 week ago.
286
5.0
0 thulsdau
EEM Script For Periodically Clearing Interface Counters Using Regular Expression
Last Reply 5 months 1 week ago.
3093
5.0
2
Tclsh implementation of host - NM
Last Reply 5 months 1 week ago.
1508
5.0
11 jpfeifer
Nexus: Host port delay based on uplink bring-up
Last Reply 6 months 2 weeks ago.
108
0.0
2 cobedien
Geo Fence
Last Reply 1 year 1 month ago.
174
0.0
0 Daniel Frey
Automatic NBAR Protocol Pack Upgrader
Last Reply 7 months 1 week ago.
72
0.0
0 anbv
Automatically Set Port Descriptions
Last Reply 8 months 1 day ago.
5548
5.0
56 Joseph Clarke
ASR9000 EEM Script repository
Last Reply 8 months 3 days ago.
169
0.0
0 Santosh Sharma
EEM script to log committed configs to syslog
Last Reply 8 months 1 week ago.
792
0.0
0 Santosh Sharma
Multiple Pipe Support
Last Reply 8 months 1 week ago.
2728
0.0
2 jpfeifer
Cisco EEM Best Practices
Last Reply 8 months 2 weeks ago.
39670
5.0
6 mtimm
findmyrouter.zip
Last Reply 1 year 4 months ago.
852
0.0
0 Daniel Frey
OSPF Neighbor Discovery with DNS Lookup
Last Reply 8 months 4 weeks ago.
62
0.0
0 Florian Holzapfel
EEM script to save logs in a file every 30 mins
Last Reply 9 months 4 weeks ago.
174
0.0
0 Santosh Sharma
Auto-Configure Based on Connected Network
Last Reply 10 months 5 days ago.
1088
5.0
7 Joseph Clarke
GPS NMEA streaming over UDP
Last Reply 10 months 2 weeks ago.
358
0.0
0 Daniel Frey
Service Diagnostics - QOS
Last Reply 11 months 3 weeks ago.
428
0.0
2 jpfeifer
A Simple EEM script to alert on IP SLA failures
Last Reply 1 year 6 months ago.
3293
3.0
1
TCL script: Listing configuration around the router subinterface
Last Reply 1 year 2 months ago.
361
0.0
0 evgenyzhur
Filter Results
Subject Views Rating Comments Author
blog Automating Cisco Live 2014 In San Francisco
Last Reply 11 months 5 days 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

Login or Register to take actions
 
 

Featured Content

Popular Discussions

Popular Documents

Rank Username Points
1
Robert Radford
64
2
ashirkar
32
3
Maher Abdelshkour
19
4
John Blakley
15
5
paul driver
10
Rank Username Points
b.petronio
5
sprocket10
5
ananto yudi hen...
5
Jon Marshall
0