cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
386
Views
0
Helpful
2
Replies

BGP best routes.

stitov
Level 1
Level 1

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 2

Jon Marshall
Hall of Fame
Hall of Fame

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

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card