01-31-2007 11:20 AM
Hi,
For my IPv6 tunnel to keep alive I need to implement some sort of heartbeat protocol. The protocol is easy, send 1 static line of text via UDP.
Now, whould it be possible to implement such protocol using IOS, TCL and the IOS kron scheduler?
I've got plenty programming background but don't know if the TCL implementation supports some sort of UDP communications.
Maybe one of you guys know...
Regards,
Erik Tamminga
AXIANS
Solved! Go to Solution.
01-31-2007 05:51 PM
Unfortunately, no. Currently, the TCL engine in IOS cannot open UDP sockets. I have a bug opened requesting this feature, but it is not implemented yet.
Your options are to use either a ping (i.e. exec the ping command) or open a TCP socket. Either of those can be scripted using TCL and kron or the Embedded Event Manager (EEM).
01-31-2007 05:51 PM
Unfortunately, no. Currently, the TCL engine in IOS cannot open UDP sockets. I have a bug opened requesting this feature, but it is not implemented yet.
Your options are to use either a ping (i.e. exec the ping command) or open a TCP socket. Either of those can be scripted using TCL and kron or the Embedded Event Manager (EEM).
02-01-2007 12:06 AM
Thanks for your reply.
FYI: The protocol in question I was thinking of implementing is the SixXS heartbeat protocol. http://www.sixxs.net/tools/heartbeat/
I'll keep an eye on future updates then...
Regards,
Erik
11-19-2008 05:05 PM
Hi, Erik:
Are you still working on the project and are you still interested in TCL UDP support? I am the product manager covering TCL and we plan to add the UDP support for TCL next year. Will you be interested in becoming our Beta customer for it?
Thanks.
Tracy
11-20-2008 12:58 AM
Hi Tracy,
Well, I'm not actively working on this approach anymore, but UDP support is still very welcome.
Currently I've got an other machine doing the heartbeat but I still would like to do this on IOS to not have the need for this other machine, which sole purpose is to keep the heartbeat alive.
So, yes, I'd like to do the testing for you. No problem. Offline from the office, so my platform is a c871w. Let me know as soon as you've got something worth testing.
Regards,
Erik
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide