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 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 1 week 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 4 weeks 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...
4 months 4 days ago
Hi everybody!I've interested in Custom-MIB EEM Script, because I want to monitor via SNMP (PRTG) some IOS parameters that do not have SNMP oid.For...
4 months 6 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 EEM Script to bounce all dot1x enabled ports after switch restart
Last Reply 3 min 3 sec ago.
1 0 0 1 Joseph Clarke
discussion EEM Script to apply the QOS command in interface as per time base
Last Reply 17 hours 46 min ago.
4 0 5 2 jubair151
discussion Question about simple script
Last Reply 1 day 5 hours ago.
6 0 0 1 Joseph Clarke
discussion SLA shutdown interface on Cisco ISR 4331 if IP unreachable
Last Reply 2 days 8 hours ago.
21 0 0 1 Joseph Clarke
discussion Need tcl script to reset interfaces
Last Reply 5 days 8 hours ago.
17 0 0 1 steffen.bodensohn
discussion Need to shut down port if remote port does not respond to ICMP
Last Reply 6 days 20 hours ago.
115 0 0 3 Joseph Clarke
discussion track state checking every 15 minutes
Last Reply 1 week 1 day ago.
30 0 0 3 Joseph Clarke
discussion Cisco Nexus - Event manager skip command
Last Reply 1 week 5 days ago.
11 0 0 1 Joseph Clarke
discussion EEM to Shut down FEX ports
Last Reply 1 week 6 days ago.
45 0 0 7 Joseph Clarke
discussion "Dirty Circuit" script not working
Last Reply 1 week 6 days ago.
26 0 0 2 CORY HEBERT
discussion EEM Auto Access Point Scipt
Last Reply 2 weeks 5 hours ago.
25 0 0 1 Joseph Clarke
discussion workaround for using EEM on NXOS
Last Reply 2 weeks 9 hours ago.
20 0 0 1 Alex Steer
discussion Script to disable G0/0 port if assigned IP address is not reachable
Last Reply 2 weeks 1 day ago.
72 0 5 6 alexanderkieser
discussion EEM not matching on SLA
Last Reply 2 weeks 2 days ago.
12 0 0 2 westj@tcstampa.com
discussion How to retrieve a string from debug log using tcl
Last Reply 2 weeks 5 days ago.
28 0 5 4 Joseph Clarke
discussion EEM Event is overwritting incorrect NAT statement
Last Reply 2 weeks 6 days ago.
12 0 5 6 westj@tcstampa.com
discussion Running a batch file for multiple commands (lose connection)
Last Reply 3 weeks 1 day ago.
44 0 0 3 davidwatson1
discussion EEM execution failing due to CLI nat question
Last Reply 3 weeks 2 days ago.
108 0 5 6 Destiny3986
discussion CLI to change IP SLB serverfarm config
Last Reply 3 weeks 6 days ago.
33 0 5 5 Joseph Clarke
discussion EEM Versioning on 6500s
Last Reply 3 weeks 6 days ago.
87 0 0 12 steven.crutchley
discussion TCL Script to change hostnames from upper case letters to lower case
Last Reply 3 weeks 6 days ago.
61 0 5 6 packettracer86
discussion Cisco IOS XR EEM
Last Reply 1 month 13 hours ago.
428 0 5 46 mkhalil10
discussion EEM-tcl trigger using customized syslog not working.
Last Reply 1 month 1 day ago.
51 0 0 2 Joseph Clarke
discussion EEM event correlate
Last Reply 1 month 2 days ago.
104 0 5 5 rosaho
discussion dial-peer busyout
Last Reply 1 month 2 days ago.
74 0 0 1 rosaho
Filter Results
Subject Views Rating Comments Author
Cisco EEM Basic Overview and Sample Configurations
Last Reply 1 week 4 days ago.
58391
4.8
20
Automatically Set Port Descriptions
Last Reply 3 weeks 5 days ago.
6469
5.0
64 Joseph Clarke
Commands over SMS
Last Reply 1 month 3 weeks ago.
1563
5.0
13 Daniel Frey
Multiple Pipe Support
Last Reply 1 month 4 weeks ago.
2949
0.0
3 jpfeifer
EEM Built-in "Action" Variables
Last Reply 2 months 1 week ago.
4144
5.0
4 Joseph Clarke
Email Top Talker reports from your router
Last Reply 5 months 3 weeks ago.
1251
0.0
2 netcproject
Monitor the byte count over 4G Cellular interface(s)
Last Reply 6 months 4 weeks ago.
430
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 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 8 months 2 weeks ago.
210
0.0
0 Premnijesh Jeyapalan
PONG on IOS
Last Reply 9 months 1 week ago.
336
5.0
0 thulsdau
EEM Script For Periodically Clearing Interface Counters Using Regular Expression
Last Reply 9 months 2 weeks ago.
3460
5.0
2
Tclsh implementation of host - NM
Last Reply 9 months 2 weeks ago.
1668
5.0
11 jpfeifer
Nexus: Host port delay based on uplink bring-up
Last Reply 10 months 2 weeks ago.
130
0.0
2 cobedien
Geo Fence
Last Reply 10 months 3 weeks ago.
196
0.0
0 Daniel Frey
Automatic NBAR Protocol Pack Upgrader
Last Reply 11 months 2 weeks ago.
95
0.0
0 anbv
ASR9000 EEM Script repository
Last Reply 12 months 3 days ago.
236
0.0
0 Santosh Sharma
EEM script to log committed configs to syslog
Last Reply 1 year 3 days ago.
833
0.0
0 Santosh Sharma
Cisco EEM Best Practices
Last Reply 1 year 1 week ago.
43709
5.0
6 mtimm
findmyrouter.zip
Last Reply 1 year 3 weeks ago.
891
0.0
0 Daniel Frey
OSPF Neighbor Discovery with DNS Lookup
Last Reply 1 year 3 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.
233
0.0
0 Santosh Sharma
Auto-Configure Based on Connected Network
Last Reply 1 year 2 months ago.
1150
5.0
7 Joseph Clarke
GPS NMEA streaming over UDP
Last Reply 1 year 2 months ago.
445
0.0
0 Daniel Frey
Service Diagnostics - QOS
Last Reply 1 year 3 months ago.
443
0.0
2 jpfeifer
A Simple EEM script to alert on IP SLA failures
Last Reply 1 year 4 months ago.
3672
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.
3
5.0
0 Joseph Clarke
Filter Results
EEM Scripting
Views: 216
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
EEM Scripting
Views: 190
  • 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