BGP best routes.

Unanswered Question
Feb 22nd, 2007

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

Result - Sent Rcvd

Prefixes Current: 209272

Used as bestpath: 0

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

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Jon Marshall Thu, 02/22/2007 - 01:43


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.


stitov Thu, 02/22/2007 - 02:22

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" I see the next:

Prefixes Current: 209259

Used as bestpath: 0.

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

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

Prefixes Current: 208836

Used as bestpath: 32776


This Discussion