IOS TCL and UDP communications

Answered Question
Jan 31st, 2007

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

I have this problem too.
0 votes
Correct Answer by Joe Clarke about 9 years 8 months ago

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).

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Correct Answer
Joe Clarke Wed, 01/31/2007 - 17:51

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).

jiangy Wed, 11/19/2008 - 17:05

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

etamminga Thu, 11/20/2008 - 00:58

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

[email protected]

Actions

This Discussion