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.

Need to monitor primary & Sec links, select the best based on the following criteria 1. Packet drops2. Link flapping3. Input Errors4. Output dr...
1 day 1 hour 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...
1 day 8 hours ago
Looking to automate the backup process and send it to another location via FTP.
1 week 12 hours ago
HiCan someone explain why this doesn´t work?If the OSPF default-route goes away i want to powercycle the cellular modem.Now it powercycle without c...
1 month 2 weeks ago
Hi Can any body share  documentation /procedure to learn scripting( fetching config for specfic details like snmp,ntp from around 1000 routers frm...
2 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 Dual sim router
Last Reply 5 min 40 sec ago.
40 0 5 5 sprocket10
discussion EEM script to monitor primary link & secondary link and choose the Best.
Last Reply 1 day 1 hour ago.
15 0 0.0 0 makramccie
discussion trying to shutdown GRE tunnels based on status of BGP peer
Last Reply 1 day 8 hours ago.
6 0 0.0 0 bdbryant64
discussion Automatic BACKUP on NEXUS 3k
Last Reply 2 days 12 hours ago.
19 0 0.0 2 geevee1989
discussion WIFI AP action via CDP and MAC Address
Last Reply 2 days 15 hours ago.
18 0 0.0 5 Joseph Clarke
discussion @ in username
Last Reply 2 days 20 hours ago.
21 0 0.0 2 Ashok Kumar
discussion Save File on Flash without delete last one with EEM
Last Reply 4 days 18 hours ago.
28 0 0.0 3 Joseph Clarke
discussion Automate Backup for Cisco ASR 1k
Last Reply 1 week 12 hours ago.
19 0 0.0 0 jciuffetelli1
discussion tcl script to get file from ftp server fails when executed by eem applet
Last Reply 1 week 1 day ago.
26 0 5 1 Joseph Clarke
discussion TCL exec command withount result
Last Reply 1 week 1 day ago.
17 0 0.0 1 Joseph Clarke
discussion Hang occurs
Last Reply 1 week 1 day ago.
8 0 0.0 1 Joseph Clarke
discussion Prevent "no" Under a Particular Interface
Last Reply 1 week 2 days ago.
15 0 0.0 1 Daniel Frey
discussion EEM issue
Last Reply 1 week 4 days ago.
57 0 0.0 5 Joseph Clarke
discussion Obtaining licenses for EEM On a CIsco 1921
Last Reply 1 week 6 days ago.
46 0 0.0 4 Keith Nelson
discussion EEM script to trigger high int utilization and snapshot ip flow top-talker
Last Reply 2 weeks 1 day ago.
40 0 0.0 2 kchengva1
discussion EEM multiple pipes
Last Reply 2 weeks 1 day ago.
22 0 0.0 1 Ashok Kumar
discussion Error in EEM script mail
Last Reply 2 weeks 1 day ago.
54 0 0.0 3 jlerest
discussion EEM script to minimize Tunnel Flapping
Last Reply 2 weeks 2 days ago.
44 0 0.0 1 Daniel Frey
discussion Customized OSPF SNMP trap
Last Reply 2 weeks 3 days ago.
38 0 0.0 3 Joseph Clarke
discussion HELP Needed: scheduled EEM script to find which VG224 voice-ports are in "REM_ONHOOK_PEN", and then bounce them
Last Reply 2 weeks 3 days ago.
24 0 0.0 1 Joseph Clarke
discussion UBR EEM script resetting the modem
Last Reply 3 weeks 6 days ago.
48 0 5 6 Andrzej Budny
discussion Monitoring Virtual Ports
Last Reply 4 weeks 1 day ago.
56 0 0.0 1 IT_ Guy
discussion TCL ios-xr append line to prefix-set
Last Reply 4 weeks 1 day ago.
50 0 0.0 1 Joseph Clarke
discussion supressing output in a TcL script on NX-OS
Last Reply 4 weeks 1 day ago.
837 2 0.0 5 mochoschwager
discussion Current active SIM to syslog server
Last Reply 1 month 1 day ago.
30 0 5 4 sprocket10
Filter Results
Subject Views Rating Comments Author
Email Top Talker reports from your router
Last Reply 1 week 6 days ago.
1184
0.0
2 netcproject
Cisco EEM Basic Overview and Sample Configurations
Last Reply 2 weeks 3 days ago.
46057
4.8
16 ashirkar
Commands over SMS
Last Reply 2 months 2 weeks ago.
398
0.0
12 Daniel Frey
Monitor the byte count over 4G Cellular interface(s)
Last Reply 1 year 1 month ago.
249
0.0
0 Daniel Frey
EEM script to fix invalid PAT entries when using NVI and using a dynamic IP address
Last Reply 2 months 1 week ago.
20
0.0
0 Vittorio Alfieri
EEM script for Installation and Activation of IPsec/CGN OVA package on ASR9K routers
Last Reply 3 months 1 week ago.
87
0.0
0 Premnijesh Jeyapalan
PONG on IOS
Last Reply 4 months 3 days ago.
7
5.0
0 thulsdau
EEM Script For Periodically Clearing Interface Counters Using Regular Expression
Last Reply 4 months 6 days ago.
3020
5.0
2 ashirkar
Tclsh implementation of host - NM
Last Reply 4 months 6 days ago.
1485
5.0
11 jpfeifer
Nexus: Host port delay based on uplink bring-up
Last Reply 5 months 1 week ago.
84
0.0
2 cobedien
Geo Fence
Last Reply 1 year 3 days ago.
167
0.0
0 Daniel Frey
Automatic NBAR Protocol Pack Upgrader
Last Reply 6 months 6 days ago.
58
0.0
0 anbv
Automatically Set Port Descriptions
Last Reply 6 months 3 weeks ago.
5276
5.0
56 Joseph Clarke
ASR9000 EEM Script repository
Last Reply 6 months 3 weeks ago.
122
0.0
0 Santosh Sharma
EEM script to log committed configs to syslog
Last Reply 7 months 14 hours ago.
258
0.0
0 Santosh Sharma
Multiple Pipe Support
Last Reply 7 months 4 days ago.
2686
0.0
2 jpfeifer
Cisco EEM Best Practices
Last Reply 7 months 1 week ago.
38851
5.0
6 mtimm
findmyrouter.zip
Last Reply 1 year 3 months ago.
830
0.0
0 Daniel Frey
OSPF Neighbor Discovery with DNS Lookup
Last Reply 7 months 2 weeks ago.
57
0.0
0 Florian Holzapfel
EEM script to save logs in a file every 30 mins
Last Reply 8 months 3 weeks ago.
155
0.0
0 Santosh Sharma
Auto-Configure Based on Connected Network
Last Reply 8 months 4 weeks ago.
915
5.0
7 Joseph Clarke
GPS NMEA streaming over UDP
Last Reply 9 months 6 days ago.
168
0.0
0 Daniel Frey
Service Diagnostics - QOS
Last Reply 10 months 2 weeks ago.
425
0.0
2 jpfeifer
A Simple EEM script to alert on IP SLA failures
Last Reply 1 year 4 months ago.
3081
3.0
1 ashirkar
TCL script: Listing configuration around the router subinterface
Last Reply 1 year 1 month ago.
395
0.0
0 evgenyzhur
Filter Results
Subject Views Rating Comments Author
blog Automating Cisco Live 2014 In San Francisco
Last Reply 10 months 21 hours ago.
603
5.0
0 Joseph Clarke
Filter Results
EEM Scripting
Views: 186
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
EEM Scripting
Views: 157
  • 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
Leo Laohoo
10