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.

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...
2 weeks 5 days 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 1 day ago
Looking to automate the backup process and send it to another location via FTP.
1 month 1 week 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...
2 months 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...
3 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 Add MAC Address to interface on Up, remove from down EEM
Last Reply 20 hours 45 min ago.
10 0 0.0 1 Joseph Clarke
discussion TCL Script to read out and change interface vlan IP address
Last Reply 2 days 8 hours ago.
30 0 0.0 5 Daniel Frey
discussion Need to shut down port if remote port does not respond to ICMP
Last Reply 2 days 9 hours ago.
9 0 0.0 1 Joseph Clarke
discussion EEM script to monitor primary link & secondary link and choose the Best.
Last Reply 2 days 18 hours ago.
84 0 0.0 2 makramccie
discussion Cisco IOS XR EEM
Last Reply 4 days 7 hours ago.
152 0 0.0 21 Joseph Clarke
discussion TCL script using EEM to append output to a file
Last Reply 4 days 14 hours ago.
24 0 0.0 2 Alex Zonnoorian
discussion EEM alert based on NAT Pool utilization
Last Reply 4 days 20 hours ago.
12 0 5 4 XIE YAO
discussion Script / Tracker repeat
Last Reply 5 days 4 hours ago.
12 0 0.0 1 Joseph Clarke
discussion EEM to change a switch port on event
Last Reply 5 days 5 hours ago.
22 0 0.0 3 Daniel Frey
discussion If DHCP fails, give static IP EEM script
Last Reply 6 days 7 hours ago.
24 0 5 2 Cory Anderson
discussion EEM - event timer cron problem
Last Reply 6 days 14 hours ago.
18 0 5 2 b.petronio
discussion EEM Script to stop SIP service if a network route disappears from the routing table
Last Reply 1 week 4 hours ago.
10 0 0.0 1 Joseph Clarke
discussion eem scripting for IP SLA
Last Reply 1 week 3 days ago.
59 0 0.0 2 Daniel Frey
discussion Dual sim router
Last Reply 1 week 3 days ago.
74 0 5 7 b.petronio
discussion Router no memory when run tcl
Last Reply 2 weeks 5 days ago.
71 0 5 6 Sergio Garrido
discussion DELETE FILES IN HARDDISK
Last Reply 2 weeks 5 days ago.
9 0 0.0 0 Derek Mayabi
discussion how do you find the list of builtin variables?
Last Reply 2 weeks 6 days ago.
34 0 5 2 Chris Clifton
discussion Saturate Interface
Last Reply 3 weeks 3 days ago.
18 0 0.0 1 Joseph Clarke
discussion PIng EEM Script Not Working
Last Reply 3 weeks 6 days ago.
43 0 0.0 4 Carlton Patterson
discussion trying to shutdown GRE tunnels based on status of BGP peer
Last Reply 1 month 1 day ago.
23 0 0.0 0 bdbryant64
discussion Automatic BACKUP on NEXUS 3k
Last Reply 1 month 3 days ago.
34 0 0.0 2 geevee1989
discussion WIFI AP action via CDP and MAC Address
Last Reply 1 month 3 days ago.
32 0 0.0 5 Joseph Clarke
discussion @ in username
Last Reply 1 month 3 days ago.
29 0 0.0 2 Ashok Kumar
discussion Save File on Flash without delete last one with EEM
Last Reply 1 month 5 days ago.
69 0 0.0 3 Joseph Clarke
discussion Automate Backup for Cisco ASR 1k
Last Reply 1 month 1 week ago.
29 0 0.0 0 jciuffetelli1
Filter Results
Subject Views Rating Comments Author
Cisco EEM Basic Overview and Sample Configurations
Last Reply 3 days 7 hours ago.
47915
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.
1226
5.0
12 Daniel Frey
Monitor the byte count over 4G Cellular interface(s)
Last Reply 2 months 3 weeks ago.
329
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.
186
0.0
0 Premnijesh Jeyapalan
PONG on IOS
Last Reply 5 months 4 days ago.
284
5.0
0 thulsdau
EEM Script For Periodically Clearing Interface Counters Using Regular Expression
Last Reply 5 months 1 week ago.
3084
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 1 week ago.
107
0.0
2 cobedien
Geo Fence
Last Reply 6 months 2 weeks ago.
174
0.0
0 Daniel Frey
Automatic NBAR Protocol Pack Upgrader
Last Reply 7 months 6 days ago.
72
0.0
0 anbv
Automatically Set Port Descriptions
Last Reply 7 months 3 weeks ago.
5515
5.0
56 Joseph Clarke
ASR9000 EEM Script repository
Last Reply 7 months 3 weeks ago.
169
0.0
0 Santosh Sharma
EEM script to log committed configs to syslog
Last Reply 8 months 1 day ago.
792
0.0
0 Santosh Sharma
Multiple Pipe Support
Last Reply 8 months 5 days 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 2 weeks ago.
852
0.0
0 Daniel Frey
OSPF Neighbor Discovery with DNS Lookup
Last Reply 8 months 2 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.
173
0.0
0 Santosh Sharma
Auto-Configure Based on Connected Network
Last Reply 9 months 4 weeks ago.
1087
5.0
7 Joseph Clarke
GPS NMEA streaming over UDP
Last Reply 10 months 1 week ago.
357
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 1 day ago.
3282
3.0
1
TCL script: Listing configuration around the router subinterface
Last Reply 1 year 3 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
sprocket10
5
ananto yudi hen...
5
b.petronio
5