Sending an email notification to multiple recipients

Unanswered Question
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Joe Clarke Mon, 03/27/2017 - 14:04
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    Founding Member

The same will work in IOS-XR.  The Tcl code for email is the same in IOS and IOS-XR.

rbunal Tue, 03/28/2017 - 07:53
User Badges:

I got it to work with no commas between email addresses, used spaces instead.

scott.hammond Wed, 03/29/2017 - 05:37
User Badges:

would you mind sharing the whole script?

Im trying to get my Nexus 5k to send me an email when an error occurs and I am totally stuck.

rbunal Wed, 03/29/2017 - 08:19
User Badges:


I just copied the sample script (I'm not a programmer)

sl_intf_down.tcl Sample Policy

from the document

You need to set the appropriate environmental variables through the CLI

hostname cpu
event manager environment _email_server
event manager environment _email_to [email protected]
event manager environment _email_from [email protected]
event manager environment _email_cc [email protected]

check the logs for clues as to why it might be failing. In my case, I was getting this error when I had commas between my email addresses.

Mar 28 10:23:28.858 EST: syslog_dev[93]: noscan PID-69476737: From SMTP server: 550 5.1.1 <,>... User unknown

I also had issues with the domain name. It was set in my running-config, but I had to set the event manager environment variable event manager environment _domainname

I hope that helps,


This Discussion