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