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'm not sure what the issue is, but I've created an SSH Applet to log into an ASA from an ISR.  If I debug, I see that it logs in, and sends...
3 hours 56 min ago
Hi All,I've written a script to parse our configs against company policy using TcL.  I'm setting a variable as the output of "show run". set run [e...
1 day 3 hours 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...
3 weeks 14 hours 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 days ago
Looking to automate the backup process and send it to another location via FTP.
1 month 1 week 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 ::cisco::eem::event_register_stat name ifstats-datarate
Last Reply 5 min 48 sec ago.
1204 1 5 8 ffigueroaz
discussion EEM Applet SSH won't get passed Enable Prompt
Last Reply 8 min 12 sec ago.
0 0 0.0 0 Cory Anderson
discussion Cisco IOS XR EEM
Last Reply 1 hour 25 min ago.
164 0 0.0 23 Joseph Clarke
discussion EEM and SNMP and SIP
Last Reply 3 hours 49 min ago.
6 0 0.0 1 Chris McGarrah
discussion TCL Script to read out and change interface vlan IP address
Last Reply 6 hours 24 min ago.
34 0 0.0 6 packettracer86
discussion Parse Running Config with TcL
Last Reply 23 hours 30 min ago.
7 0 0.0 0 Cory Anderson
discussion Add MAC Address to interface on Up, remove from down EEM
Last Reply 2 days 12 hours ago.
21 0 5 1 Joseph Clarke
discussion Need to shut down port if remote port does not respond to ICMP
Last Reply 4 days 1 hour ago.
13 0 0.0 1 Joseph Clarke
discussion EEM script to monitor primary link & secondary link and choose the Best.
Last Reply 4 days 10 hours ago.
90 0 0.0 2 makramccie
discussion TCL script using EEM to append output to a file
Last Reply 6 days 7 hours ago.
37 0 0.0 2 Alex Zonnoorian
discussion EEM alert based on NAT Pool utilization
Last Reply 6 days 12 hours ago.
25 0 5 4 XIE YAO
discussion Script / Tracker repeat
Last Reply 6 days 20 hours ago.
19 0 0.0 1 Joseph Clarke
discussion EEM to change a switch port on event
Last Reply 6 days 22 hours ago.
28 0 0.0 3 Daniel Frey
discussion If DHCP fails, give static IP EEM script
Last Reply 1 week 23 hours ago.
25 0 5 2 Cory Anderson
discussion EEM - event timer cron problem
Last Reply 1 week 1 day ago.
19 0 5 2 b.petronio
discussion eem scripting for IP SLA
Last Reply 1 week 5 days ago.
63 0 0.0 2 Daniel Frey
discussion Dual sim router
Last Reply 1 week 5 days ago.
74 0 5 7 b.petronio
discussion Router no memory when run tcl
Last Reply 2 weeks 6 days ago.
72 0 5 6 Sergio Garrido
discussion DELETE FILES IN HARDDISK
Last Reply 3 weeks 10 hours ago.
10 0 0.0 0 Derek Mayabi
discussion how do you find the list of builtin variables?
Last Reply 3 weeks 21 hours ago.
34 0 5 2 Chris Clifton
discussion Saturate Interface
Last Reply 3 weeks 4 days ago.
19 0 0.0 1 Joseph Clarke
discussion PIng EEM Script Not Working
Last Reply 4 weeks 1 day ago.
44 0 0.0 4 Carlton Patterson
discussion trying to shutdown GRE tunnels based on status of BGP peer
Last Reply 1 month 3 days ago.
24 0 0.0 0 bdbryant64
discussion Automatic BACKUP on NEXUS 3k
Last Reply 1 month 4 days ago.
35 0 0.0 2 geevee1989
discussion WIFI AP action via CDP and MAC Address
Last Reply 1 month 4 days ago.
35 0 0.0 5 Joseph Clarke
Filter Results
Subject Views Rating Comments Author
Cisco EEM Basic Overview and Sample Configurations
Last Reply 5 days 2 hours 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 2 months 1 week ago.
1230
5.0
12 Daniel Frey
Monitor the byte count over 4G Cellular interface(s)
Last Reply 2 months 3 weeks 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 1 week ago.
187
0.0
0 Premnijesh Jeyapalan
PONG on IOS
Last Reply 5 months 6 days 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 6 months 3 weeks 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 7 months 3 weeks ago.
5548
5.0
56 Joseph Clarke
ASR9000 EEM Script repository
Last Reply 7 months 4 weeks ago.
169
0.0
0 Santosh Sharma
EEM script to log committed configs to syslog
Last Reply 8 months 3 days 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 1 week ago.
39620
5.0
6 mtimm
findmyrouter.zip
Last Reply 8 months 3 weeks ago.
852
0.0
0 Daniel Frey
OSPF Neighbor Discovery with DNS Lookup
Last Reply 8 months 3 weeks ago.
62
0.0
0 Florian Holzapfel
EEM script to save logs in a file every 30 mins
Last Reply 9 months 3 weeks ago.
174
0.0
0 Santosh Sharma
Auto-Configure Based on Connected Network
Last Reply 10 months 1 day ago.
1088
5.0
7 Joseph Clarke
GPS NMEA streaming over UDP
Last Reply 10 months 1 week ago.
358
0.0
0 Daniel Frey
Service Diagnostics - QOS
Last Reply 11 months 2 weeks ago.
428
0.0
2 jpfeifer
A Simple EEM script to alert on IP SLA failures
Last Reply 12 months 3 days ago.
3293
3.0
1
TCL script: Listing configuration around the router subinterface
Last Reply 1 year 4 weeks ago.
361
0.0
0 evgenyzhur
Filter Results
Subject Views Rating Comments Author
blog Automating Cisco Live 2014 In San Francisco
Last Reply 9 months 1 week ago.
755
5.0
0 Joseph Clarke
Filter Results
EEM Scripting
Views: 190
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
EEM Scripting
Views: 160
  • 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
b.petronio
5
sprocket10
5
ananto yudi hen...
5