cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1341
Views
0
Helpful
2
Replies
Highlighted
Beginner

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.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Hall of Fame Cisco Employee

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 .

View solution in original post

2 REPLIES 2
Highlighted
Hall of Fame Cisco Employee

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 .

View solution in original post

Highlighted

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

Content for Community-Ad