05-04-2018 05:59 AM - edited 03-05-2019 10:23 AM
Hello,
I'm here because today i've seen something in my topology that seems wrong :
I have 2 routers, each connected to the same vlan, so i've done HSRP on them. On each of them i have 4 GRE tunnels, and i wanted that when on the active HSRP router a tunnel go down, the HSRP priority decrease, but there is my problem : even when i cut links between ends of a GRE tunnel, it don't go down, i can't ping, but when i do a "show int tunnel 1" (for example), tunnel is up and line protocol is up.
Am i doing something wrong ? Or is this normal ? If normal, it's possible to make it going down when connectivity don't work ?
Thanks in advance.
05-04-2018 06:39 AM
Hi
Long time since i worked with tunnels, but i think ther where a command like "tunnel keepalive".
Without the keepalive the tunnel is up as long the destination is in the routingtable.
/Mikael
05-04-2018 07:28 AM
Ah thank you, exactly what i needed !
(config)# int tun 0
(config-if)# keepalive x
x is in seconds, so the interval between keepalives
Many thanks, it work :)
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