11-04-2013 10:02 AM
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.
Solved! Go to Solution.
11-04-2013 07:38 PM
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 .
11-04-2013 07:38 PM
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 .
11-05-2013 06:56 AM
THank you for your advise. I will try to figure that out.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: