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...
4 days 20 hours 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...
2 months 3 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...
2 months 3 weeks 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 months 43 min 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 Viewssort descending Votes Rating Replies Last replied by
discussion Create an EEM to find a port (mac address)
Last Reply 1 year 4 months ago.
3 0 5 7 Andre Ortega
discussion need a script to check access is permitted on routers and switches or not
Last Reply 2 weeks 5 days ago.
10 0 0 0 zayalaksme
discussion IOSXR EEM: Send Email After OSPF or BFD ADJ Change
Last Reply 6 days 16 hours ago.
12 0 0 1 Steven Como
discussion How do install EPC header on the ASR router? or is it now part of the IOS?
Last Reply 1 year 3 months ago.
16 0 0 1 Joseph Clarke
discussion How to shut down interface by EEM with two Logs
Last Reply 4 days 20 hours ago.
18 0 0 0 Daehee Seo
discussion DELETE FILES IN HARDDISK
Last Reply 3 months 3 weeks ago.
19 0 0 0 Derek Mayabi
discussion Hang occurs
Last Reply 4 months 1 week ago.
20 0 0 1 Joseph Clarke
discussion Prevent "no" Under a Particular Interface
Last Reply 4 months 1 week ago.
21 0 0 1 Daniel Frey
discussion EEM Script to stop SIP service if a network route disappears from the routing table
Last Reply 3 months 16 hours ago.
23 0 5 2 Piotr Puchalski
discussion ios_config "no vlan 2000-4094" "end" not working in tclsh
Last Reply 2 months 1 week ago.
24 0 0 1 Joseph Clarke
discussion string range variable
Last Reply 3 weeks 3 days ago.
24 0 0 1 Joseph Clarke
discussion Custom-MIB EEM Script TODAY
Last Reply 3 months 30 min ago.
26 0 0 0 Vladimir Samovarov
discussion Action syslog in EEM script does not work when logging filter is configured
Last Reply 3 weeks 5 days ago.
27 0 0 1 Joseph Clarke
discussion Failover active and to send CGI
Last Reply 5 days 21 hours ago.
27 0 5 5 Joseph Clarke
discussion Using output from pwd in current directory
Last Reply 1 year 4 months ago.
28 0 0 1 Joseph Clarke
discussion NX-OS EEM script for SVI
Last Reply 2 months 3 weeks ago.
28 0 0 0 adil-taleb
discussion Try to using TCL to read out the management IP address, then using the IP as backup file name by Korn
Last Reply 1 month 3 weeks ago.
29 0 0 1 shan huang
discussion NX-OS snmp-trap strdata does not return string sent from device to object server
Last Reply 1 year 4 months ago.
30 0 0 0 fighters05
discussion bgp neighbor count
Last Reply 1 month 1 week ago.
31 0 5 1 Daniel Frey
discussion Saturate Interface
Last Reply 3 months 3 weeks ago.
34 0 0 1 Joseph Clarke
discussion NX-OS snmp-trap strdata does not return string sent from device to object server
Last Reply 1 year 4 months ago.
35 0 0 1 Joseph Clarke
discussion TCL exec command withount result
Last Reply 4 months 1 week ago.
35 0 0 1 Joseph Clarke
discussion HTTP Event Detector
Last Reply 2 months 2 days ago.
36 0 5 2 Gregory Iiams
discussion How to use EEM to telnet to another device and run commands there
Last Reply 3 days 15 hours ago.
36 0 5 8 jszumili
discussion @ in username
Last Reply 4 months 5 days ago.
38 0 0 2 Ashok Kumar
Filter Results
Subject Viewssort descending Rating Comments Author
EEM script to fix invalid PAT entries when using NVI and using a dynamic IP address
Last Reply 6 months 2 weeks ago.
1
0.0
0 Vittorio Alfieri
OSPF Neighbor Discovery with DNS Lookup
Last Reply 11 months 3 weeks ago.
68
0.0
0 Florian Holzapfel
Automatic NBAR Protocol Pack Upgrader
Last Reply 10 months 1 week ago.
92
0.0
0 anbv
Nexus: Host port delay based on uplink bring-up
Last Reply 9 months 2 weeks ago.
120
0.0
2 cobedien
geteem v1.0
Last Reply 3 years 9 months ago.
133
0.0
0 jpfeifer
frb-1711-3.tcl
Last Reply 3 years 9 months ago.
160
0.0
0 jpfeifer
E-DI Perl Script for Grouping
Last Reply 3 years 9 months ago.
166
0.0
0 jpfeifer
Service Diagnostics - ERM New
Last Reply 3 years 9 months ago.
178
0.0
0 jpfeifer
ios2scrxxnOS
Last Reply 3 years 9 months ago.
182
0.0
0 jpfeifer
Missing BFDv6 workaround
Last Reply 3 years 9 months ago.
183
0.0
0 jpfeifer
sl_cfgSaveRem
Last Reply 3 years 9 months ago.
185
0.0
0 jpfeifer
SlotReload_HA_XR
Last Reply 3 years 9 months ago.
186
0.0
0 jpfeifer
reinstate_command
Last Reply 3 years 9 months ago.
187
0.0
0 jpfeifer
errim
Last Reply 3 years 9 months ago.
190
0.0
0 jpfeifer
Geo Fence
Last Reply 9 months 3 weeks ago.
193
0.0
0 Daniel Frey
CLI - XML transform specfile
Last Reply 3 years 9 months ago.
194
0.0
0 jpfeifer
BGPDebugCollector_Routing_XR
Last Reply 3 years 9 months ago.
201
0.0
0 jpfeifer
EEM script for Installation and Activation of IPsec/CGN OVA package on ASR9K routers
Last Reply 7 months 1 week ago.
205
0.0
0 Premnijesh Jeyapalan
geteem v1.1
Last Reply 3 years 9 months ago.
208
0.0
0 jpfeifer
Composite Dev Health-Memory
Last Reply 3 years 9 months ago.
210
0.0
0 jpfeifer
Service Diagnostics - ERM
Last Reply 3 years 9 months ago.
211
0.0
0 jpfeifer
gps_time.zip
Last Reply 1 year 8 months ago.
217
0.0
0 Daniel Frey
EEM script to save logs in a file every 30 mins
Last Reply 1 year 2 weeks ago.
217
0.0
0 Santosh Sharma
ASR9000 EEM Script repository
Last Reply 10 months 4 weeks ago.
219
0.0
0 Santosh Sharma
rhi.zip
Last Reply 3 years 9 months ago.
221
0.0
0 jpfeifer
Filter Results
Subject Viewssort descending Rating Comments Author
blog Automating Cisco Live 2014 In San Francisco
Last Reply 1 year 5 days ago.
1015
5.0
0 Joseph Clarke
Filter Results
EEM Scripting
Views: 210
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
EEM Scripting
Views: 179
  • 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
Rank Username Points
5