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

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

EEM send UDP broadcast

I need an "action" statement that will send a UDP broadcast to port 1001 with a message of "restart". I have the rest of the EEM script created fine. I cannot seem to figure out how to do this. I have a BGP route that changes every once in a while and when it does the application seems to stop functioning correctly. A restart of the application fixes the issue. The vendor says that if I can send the UDP broadcast then he can program it to see the broadcast and restart iteself. I have created an EEM script that sees the syslog "%BGP-5-ADJCHANGE:" and currently sends an email. BUt we have to manually restart the app. If this is not possible within EEM could it be done with a TCL script and the EEM call the TCL script?

I appreciate any words of wisdom. Thank you in advance.

Everyone's tags (4)
1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

EEM send UDP broadcast

EEM currently does not support UDP.  Yes, a tclsh called from EEM could do this assuming you have a new enough IOS.  The UDP extension is documented at

http://www.cisco.com/en/US/docs/ios-xml/ios/ios_tcl/configuration/12-4t/nm-script-tcl.html .

2 REPLIES
Cisco Employee

EEM send UDP broadcast

EEM currently does not support UDP.  Yes, a tclsh called from EEM could do this assuming you have a new enough IOS.  The UDP extension is documented at

http://www.cisco.com/en/US/docs/ios-xml/ios/ios_tcl/configuration/12-4t/nm-script-tcl.html .

New Member

EEM send UDP broadcast

THank you for your advise. I will try to figure that out.

775
Views
0
Helpful
2
Replies