[c-nsp] BGP Route viewing
Marko Milivojevic
markom at pangalactic.net
Wed Aug 23 12:18:19 EDT 2006
Hm, this will produce exact same result as "show ip bgp neighbors summary"
and that is not what he needed.
If I understand the question correctly, he wanted to know how many prefixes
learned from each neighbor have actually been inserted into the routing table
Other than counting the lines in the output from "show ip bgp neighbors
x.x.x.x routes | include ^\*>", I don't know. I would like to, though :-)
Marko.
Hank Nussbacher wrote:
> On Wed, 23 Aug 2006, Brian Johnson wrote:
>
> sho ip bgp neigh ip-addr-of-peer routes | incl Total
> repeat for each IP peer. Each 'show' command will take about 10-20
> seconds to process.
>
> Results should look like:
> petach-tikva-gp#sho ip bgp neigh xx.40.124.125 routes | incl Total
> Total number of prefixes 193870
>
> A small script can automate it for you.
>
> Hank Nussbacher
> http://www.interall.co.il
>
>> Is there a way to view routes in a summary format indicating how many
>> prefixes from each peer are installed in the routing table. I have two
>> providers and I want to know which is preferred to more prefixes.
>>
>> I need summary information something along the lines of...
>>
>> PEER ASN Prefixes installed
>> ----------- -------------------
>> <ASN_A> 69234
>> <ASN_B> 75645
>>
>> TIA
>>
>> Brian
>>
> _______________________________________________
> cisco-nsp mailing list cisco-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-nsp
> archive at http://puck.nether.net/pipermail/cisco-nsp/
>
More information about the cisco-nsp
mailing list