Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

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

Hi There,

I need to configure my GRE/IPSec tunnel router in such a way that if its LAN interface (fas0/0) 's prototcol is down its Tunn interface should also become down. Kindly let me know if it is doable.

thanks and regards,

Gaurav

Everyone's tags (2)
3 REPLIES
Hall of Fame Super Blue

Re: Shutting the GRE tunnel int down in case of fastEthernet int

Gaurav

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

EEM interface down

Jon

Hall of Fame Super Silver

Re: Shutting the GRE tunnel int down in case of fastEthernet int

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

New Member

Re: Shutting the GRE tunnel int down in case of fastEthernet int

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.

674
Views
8
Helpful
3
Replies