Shutting the GRE tunnel int down in case of fastEthernet int protocol is down

Unanswered Question
Giuseppe Larosa Tue, 04/20/2010 - 11:56

Hello Gaurav,

if the fast interface is the tunnel source and you use GRE keepalive you get this easily.

the tunnel GRE will become up/down if GRE keepalives fail as a result of failure of the physical interface.

Another way to do this: if you use a routing protocol over the GRE it will fail as a a result of physical interface.

So generally speaking there is no need to shut a GRE tunnel if the physical interface fails.

IF you really want to do this (to shut the GRE tunnel when an event happens) you should look at EEM and you can post your question under network management where Joe Clarke can be of great help in this.

Edit:

for EEM follow Jon's link is what you need if you really want to do it in this way

Hope to help

Giuseppe

gary-shah Sun, 05/09/2010 - 13:52

If you are sourcing ip from referenced FastEthernet ... then by default - GRE tunnel line protocol would go down.

If IPSEC is not in effect, you can use keepalive which would reliably detect communication between 2 tunnel end-points.

Actions

This Discussion

Related Content