cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

Cisco Community Designated VIP Class of 2020

914
Views
0
Helpful
0
Replies
Beginner

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)
CreatePlease to create content
Content for Community-Ad
July's Community Spotlight Awards