cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1826
Views
0
Helpful
2
Replies

Need EEM script for write mem config details.

ggreen
Level 1
Level 1

Looking for an EEM script that will send an email of config details when a write mem is performed.  

Any help would be appreciated as i'm new to EEM.

2 Replies 2

Joe Clarke
Cisco Employee
Cisco Employee

Something like this could work:

event manager applet email-write-mem

event cli pattern "^(write memory|write|copy running-config startup-config)[[:space:]]*$" sync no skip no

action 0.5 info type routername

action 1.0 mail from user@company.com to user@company.com server 10.1.1.1 subject "Write mem on $_info_routername" body "A write mem was done on $_info_routername"

Thanks for the reply!

Review Cisco Networking for a $25 gift card