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

BGP best routes.

Hello. I have a simple question. How i can see the all best routes from my BGP peers? In some cases I can not see this by use command "sh ip bgp neighbors ". As example - sh ip bgp neighbors 1.1.1.1.

Result - Sent Rcvd

Prefixes Current: 209272

Used as bestpath: 0

If I use the command for this peer - "sh ip bgp neighbors 1.1.1.1 routes | include >", I see many "best" routes.

2 REPLIES
Hall of Fame Super Blue

Re: BGP best routes.

Hi

Not entirely sure what you are asking. If you just want to view all the best routes received from any BGP peer

sh ip bgp | include >

Have i misunderstood what you want.

Jon

New Member

Re: BGP best routes.

Hello, Jon.

Thanks for your answer. I want to see the summary statistics for best routes. The full table from my peer 208838 pref.

When I use command "sh ip bgp nei 1.1.1.1" I see the next:

Prefixes Current: 209259

Used as bestpath: 0.

Command "sh ip bgp nei 1.1.1.1 routes | include >" shows me, that these routes (best) are present in RIB.

The same command ""sh ip bgp nei 2.2.2.2" for another peer:

Prefixes Current: 208836

Used as bestpath: 32776

117
Views
0
Helpful
2
Replies