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

Unanswered Question
Jon Marshall Tue, 04/20/2010 - 11:54
User Badges:
  • Super Blue, 32500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN


Have a look at this thread with a solution from Joe Clarke using EEM -

EEM interface down


Giuseppe Larosa Tue, 04/20/2010 - 11:56
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,

    Founding Member

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.


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

Hope to help


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

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.


This Discussion