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. And see here for current known issues.

New Member

How to find routers with multiple bgp neighbors using baseline templates?

Running LMS 4.1 5k on Windows

We have around 400 routers on a MPLS network. Only few of these have more than one BGP neighbor. We need to enable some bgp traps so we know when a bgp neighbor is down. How would I write a baseline template to check if a router has more than one bgp neighbor?

basically I want to know if a router has more than one statement of the following kind:

router bgp xxxxx

neighbor x.x.x.x remote-as xxxxx   <-- 1st neighbor

neighbor y.y.y.y remote-as yyyyy    <-- 2nd neighbor

Everyone's tags (4)
427
Views
0
Helpful
0
Replies