Good Night, anyone knows what command line i have to use to check eoip tunnel status?
Thanks in advance.
Good Night, anyone knows what command line i have to use to check eoip tunnel status?
Thanks in advance.
/interface eoip print
check for a “R” by the interface number
Running does not mean its connected to the other side or that traffic can pass. Typically I use OSPF with BFD across the EoIP and it will go up or down depending on the link state.
I had that problem as well. R doesn‘t mean anything. Just create a tunnel that doesn‘t do anything else than showing the link status.
Just use the Keepalive-Feature.
A unreachable tunnel-endpoint results in a non-running Interface state.
Hello guys, i understand that i have to monitorize the running state. Anyone knows the command line for doing that?
Tahnks in advance.
Nope. The keepalive functionality as described in the manual should take care of it. If the keepalive from the remote end of the tunnel does not come, the tunnel is not deemed running. So if the default values of 10s and 10 attempts are not dynamic enough for you, you may decrease the time by explicitly specifying the new values when creating the tunnel or changing them on an already existing tunnel, just make sure you change them at both ends.
Anyone knows the command line for doing that?
If it is not enough for you that the tunnel interface goes down so any routes via that interface automatically get a very high distance value = very low priority, which may be your case if you use it for L2 traffic to which no routes are relevant, you can use ****
[/interface eoip get eoip-interface-name running]
to get a boolean value -
true
means the tunnel is running,
false
means it is not.
If the above does not work, it is a bug which needs to be reported as the documentation promises otherwise.
In such case, assigning an IP address to each end of the tunnel and running a ping between them would be a workaround.