02-22-2007 01:36 AM - edited 03-03-2019 03:52 PM
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.
02-22-2007 01:43 AM
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
02-22-2007 02:22 AM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide