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.

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...
2 weeks 1 day 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...
2 weeks 6 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...
3 weeks 1 day ago
HiKindly assist with a sample config of an EEM script of how i can periodically delete files collected in the hard disk for ASR 9010 cisco router.R...
1 month 2 weeks 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 month 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 ios_config "no vlan 2000-4094" "end" not working in tclsh
Last Reply 8 min 53 sec ago.
0 0 0.0 1 Joseph Clarke
discussion Cisco IOS XR EEM
Last Reply 3 days 8 hours ago.
165 0 0.0 35 Joseph Clarke
discussion EEM monitoring over Reverse Telnet Session
Last Reply 1 week 5 days ago.
0 0 0.0 11 Joseph Clarke
discussion EEM script to shut down unused ports.
Last Reply 2 weeks 4 hours ago.
0 0 0.0 1 Joseph Clarke
discussion Is it possible to use EEM to login via SSH to another device, and execute commands ?
Last Reply 2 weeks 4 hours ago.
0 0 0.0 1 Joseph Clarke
discussion TCL Script to track object and change PIM DR Priority
Last Reply 2 weeks 1 day ago.
0 0 0.0 2 marcosdiaz
discussion Here's a simple applet to add "do wr" to config mode
Last Reply 2 weeks 1 day ago.
0 0 0.0 0 ian.m.covington
discussion EEM problem with "event timer absolute time"
Last Reply 2 weeks 3 days ago.
0 0 0.0 1 Joseph Clarke
discussion NX-OS EEM script for SVI
Last Reply 2 weeks 6 days ago.
0 0 0.0 0 adil-taleb
discussion EEM Applet SSH won't get passed Enable Prompt
Last Reply 3 weeks 23 hours ago.
10 0 0.0 3 Joseph Clarke
discussion EEM for high CPU C4510R with SUP7E
Last Reply 3 weeks 1 day ago.
1389 1 0.0 6 dcgl
discussion Parse Running Config with TcL
Last Reply 3 weeks 1 day ago.
8 0 0.0 1 Joseph Clarke
discussion Script / Tracker repeat
Last Reply 3 weeks 1 day ago.
22 0 5 4 sprocket10
discussion ::cisco::eem::event_register_stat name ifstats-datarate
Last Reply 3 weeks 2 days ago.
1204 1 5 8 ffigueroaz
discussion EEM and SNMP and SIP
Last Reply 3 weeks 2 days ago.
6 0 0.0 1 Chris McGarrah
discussion TCL Script to read out and change interface vlan IP address
Last Reply 3 weeks 2 days ago.
34 0 0.0 6 packettracer86
discussion Add MAC Address to interface on Up, remove from down EEM
Last Reply 3 weeks 4 days ago.
21 0 5 1 Joseph Clarke
discussion Need to shut down port if remote port does not respond to ICMP
Last Reply 3 weeks 6 days ago.
13 0 0.0 1 Joseph Clarke
discussion EEM script to monitor primary link & secondary link and choose the Best.
Last Reply 3 weeks 6 days ago.
90 0 0.0 2 makramccie
discussion TCL script using EEM to append output to a file
Last Reply 4 weeks 1 day ago.
37 0 0.0 2 Alex Zonnoorian
discussion EEM alert based on NAT Pool utilization
Last Reply 4 weeks 1 day ago.
25 0 5 4 XIE YAO
discussion EEM to change a switch port on event
Last Reply 1 month 6 hours ago.
28 0 0.0 3 Daniel Frey
discussion If DHCP fails, give static IP EEM script
Last Reply 1 month 1 day ago.
25 0 5 2 Cory Anderson
discussion EEM - event timer cron problem
Last Reply 1 month 1 day ago.
19 0 5 2 b.petronio
Filter Results
Subject Views Rating Comments Author
Commands over SMS
Last Reply 4 months 2 weeks ago.
1230
5.0
12 Daniel Frey
Cisco EEM Basic Overview and Sample Configurations
Last Reply 4 weeks 5 hours ago.
48116
4.8
18
Email Top Talker reports from your router
Last Reply 2 months 1 week ago.
1193
0.0
2 netcproject
Monitor the byte count over 4G Cellular interface(s)
Last Reply 1 year 3 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 4 months 1 week ago.
22
0.0
0 Vittorio Alfieri
EEM script for Installation and Activation of IPsec/CGN OVA package on ASR9K routers
Last Reply 5 months 3 days ago.
187
0.0
0 Premnijesh Jeyapalan
PONG on IOS
Last Reply 5 months 4 weeks ago.
286
5.0
0 thulsdau
EEM Script For Periodically Clearing Interface Counters Using Regular Expression
Last Reply 6 months 2 days ago.
3093
5.0
2
Tclsh implementation of host - NM
Last Reply 6 months 2 days ago.
1508
5.0
11 jpfeifer
Nexus: Host port delay based on uplink bring-up
Last Reply 7 months 1 week 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 8 months 2 days ago.
72
0.0
0 anbv
Automatically Set Port Descriptions
Last Reply 8 months 2 weeks ago.
5548
5.0
56 Joseph Clarke
ASR9000 EEM Script repository
Last Reply 8 months 3 weeks ago.
169
0.0
0 Santosh Sharma
EEM script to log committed configs to syslog
Last Reply 8 months 3 weeks ago.
792
0.0
0 Santosh Sharma
Multiple Pipe Support
Last Reply 9 months 5 hours ago.
2728
0.0
2 jpfeifer
Cisco EEM Best Practices
Last Reply 9 months 3 days ago.
39670
5.0
6 mtimm
findmyrouter.zip
Last Reply 1 year 5 months ago.
852
0.0
0 Daniel Frey
OSPF Neighbor Discovery with DNS Lookup
Last Reply 9 months 2 weeks ago.
62
0.0
0 Florian Holzapfel
EEM script to save logs in a file every 30 mins
Last Reply 10 months 2 weeks ago.
174
0.0
0 Santosh Sharma
Auto-Configure Based on Connected Network
Last Reply 10 months 3 weeks ago.
1088
5.0
7 Joseph Clarke
GPS NMEA streaming over UDP
Last Reply 11 months 2 days ago.
358
0.0
0 Daniel Frey
Service Diagnostics - QOS
Last Reply 1 year 6 days 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 3 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 3 weeks 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
Leo Laohoo
10
Rank Username Points
Jon Marshall
0