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

EEM Script - Check BGP Neighbors and shutdown interfaces

Hello,

 

We have one router with 2 links to same ISP. We have 1 bgp neighbor for each link.

So, at this router we have 2 links and 2 neighbors with same ISP. And this router have conections with a router reflector

First, we are trying shutdown the router links with router reflector if both neighbor is down. I did this script attached. It´s hard to test it because we will use in 7600 routers. We tested it once and it didnt work as expectted. The variable didn´t work very well...

 

Any tips? Is this wrong??

 

Thanks.

Everyone's tags (1)
576
Views
0
Helpful
0
Replies