cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2317
Views
0
Helpful
2
Replies

EEM send UDP broadcast

nbroughton
Level 1
Level 1

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

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

Joe Clarke
Cisco Employee
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 .

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

Getting Started

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: