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...
5 days 17 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 4 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 21 hours 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 IOS XR EEM
Last Reply 1 min 18 sec ago.
361 0 5 43 Joseph Clarke
discussion Help: TCL Syntax for redirecting output to a file
Last Reply 11 hours 4 min ago.
66 0 5 7 Joseph Clarke
discussion How to use EEM to telnet to another device and run commands there
Last Reply 3 days 22 hours ago.
36 0 5 8 jszumili
discussion How to shut down interface by EEM with two Logs
Last Reply 5 days 4 hours ago.
18 0 0 0 Daehee Seo
discussion EEM Versioning on 6500s
Last Reply 5 days 5 hours ago.
40 0 0 7 Daniel Frey
discussion Failover active and to send CGI
Last Reply 6 days 5 hours ago.
27 0 5 5 Joseph Clarke
discussion IOSXR EEM: Send Email After OSPF or BFD ADJ Change
Last Reply 1 week 17 min ago.
12 0 0 1 Steven Como
discussion Can EEM detect the routers prompt?
Last Reply 1 week 4 days ago.
68 0 5 2 steven.crutchley
discussion UBR EEM script resetting the modem
Last Reply 1 week 4 days ago.
82 0 5 9 Andrzej Budny
discussion EEM event manager applet - IPSLA ping
Last Reply 1 week 5 days ago.
67 0 5 14 fabiogarcia
discussion How EEM send email in VRF environment?
Last Reply 2 weeks 6 hours ago.
195 0 5 3 Xavier Serena
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 Detect Proxy ARP Connection and Get Interface Down by EEM
Last Reply 3 weeks 13 hours ago.
82 0 5 4 Daehee Seo
discussion string range variable
Last Reply 3 weeks 3 days ago.
24 0 0 1 Joseph Clarke
discussion Action syslog in EEM script does not work when logging filter is configured
Last Reply 3 weeks 6 days ago.
27 0 0 1 Joseph Clarke
discussion Active/Active, multi homed BGP, dual router , HSRP config
Last Reply 1 month 9 hours ago.
1520 0 0 2 eahmed007
discussion Issue with Monitor the byte count over 4G Cellular interface script
Last Reply 1 month 1 day ago.
125 0 5 13 lbushman1
discussion Trying to get a TCL script to execute within a Cisco EEM (cronjob based)
Last Reply 1 month 2 days ago.
56 0 0 4 j.loduca
discussion eem script for console detection ?
Last Reply 1 month 3 days ago.
39 0 0 2 Ji Won Park
discussion why do I get message - tty is now going through its death sequence ?
Last Reply 1 month 5 days ago.
39 0 0 3 Joseph Clarke
discussion PERL scripting | CISCO
Last Reply 1 month 5 days ago.
108 0 0 5 Joseph Clarke
discussion Query all interfaces
Last Reply 1 month 5 days ago.
773 0 5 12 Joshuskarki
discussion bgp neighbor count
Last Reply 1 month 1 week ago.
31 0 5 1 Daniel Frey
discussion EEM Script to capture MAC address from syslog message
Last Reply 1 month 1 week ago.
69 0 0 3 Daniel Frey
discussion SNMP OID - EEM
Last Reply 1 month 1 week ago.
57 0 5 2 EU UC Support
Filter Results
Subject Views Rating Comments Author
Automatically Set Port Descriptions
Last Reply 4 days 21 hours ago.
6102
5.0
62 Joseph Clarke
Commands over SMS
Last Reply 2 weeks 5 days ago.
1474
5.0
13 Daniel Frey
Multiple Pipe Support
Last Reply 3 weeks 4 days ago.
2899
0.0
3 jpfeifer
EEM Built-in "Action" Variables
Last Reply 1 month 3 days ago.
4017
5.0
4 Joseph Clarke
Cisco EEM Basic Overview and Sample Configurations
Last Reply 3 months 6 days ago.
55859
4.8
18 ashirkar
Email Top Talker reports from your router
Last Reply 4 months 2 weeks ago.
1235
0.0
2 netcproject
Monitor the byte count over 4G Cellular interface(s)
Last Reply 5 months 3 weeks ago.
406
0.0
0 Daniel Frey
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
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
PONG on IOS
Last Reply 8 months 1 week ago.
324
5.0
0 thulsdau
EEM Script For Periodically Clearing Interface Counters Using Regular Expression
Last Reply 8 months 1 week ago.
3348
5.0
2 ashirkar
Tclsh implementation of host - NM
Last Reply 8 months 1 week ago.
1624
5.0
11 jpfeifer
Nexus: Host port delay based on uplink bring-up
Last Reply 9 months 2 weeks ago.
122
0.0
2 cobedien
Geo Fence
Last Reply 9 months 3 weeks ago.
193
0.0
0 Daniel Frey
Automatic NBAR Protocol Pack Upgrader
Last Reply 10 months 1 week ago.
92
0.0
0 anbv
ASR9000 EEM Script repository
Last Reply 10 months 4 weeks ago.
219
0.0
0 Santosh Sharma
EEM script to log committed configs to syslog
Last Reply 11 months 4 days ago.
827
0.0
0 Santosh Sharma
Cisco EEM Best Practices
Last Reply 11 months 1 week ago.
42678
5.0
6 mtimm
findmyrouter.zip
Last Reply 11 months 3 weeks ago.
879
0.0
0 Daniel Frey
OSPF Neighbor Discovery with DNS Lookup
Last Reply 11 months 3 weeks ago.
70
0.0
0 Florian Holzapfel
EEM script to save logs in a file every 30 mins
Last Reply 1 year 2 weeks ago.
218
0.0
0 Santosh Sharma
Auto-Configure Based on Connected Network
Last Reply 1 year 3 weeks ago.
1129
5.0
7 Joseph Clarke
GPS NMEA streaming over UDP
Last Reply 1 year 1 month ago.
421
0.0
0 Daniel Frey
Service Diagnostics - QOS
Last Reply 1 year 2 months ago.
434
0.0
2 jpfeifer
A Simple EEM script to alert on IP SLA failures
Last Reply 1 year 2 months ago.
3573
3.0
1 ashirkar
Filter Results
Subject Views Rating Comments Author
blog Automating Cisco Live 2014 In San Francisco
Last Reply 1 year 4 days ago.
3
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