Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

Need EEM script for write mem config details.

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
Cisco Employee

Need EEM script for write mem config details.

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"

Community Member

Need EEM script for write mem config details.

Thanks for the reply!

482
Views
0
Helpful
2
Replies
CreatePlease to create content