[c-nsp] BGP Route viewing

Oliver Boehmer (oboehmer) oboehmer at cisco.com
Wed Aug 23 12:52:01 EDT 2006


Brian Johnson <> wrote on Wednesday, August 23, 2006 4:38 PM:

> 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
> 

not per peer AS, but if per neighbor works, the neighbor stats show a
counter for current paths used as bestpath:

gaadie#sh ip b neighbor x.x.x.x
[...]
                                 Sent       Rcvd
  Prefix activity:               ----       ----
    Prefixes Current:             176       3295 (Consumes 342680 bytes)
    Prefixes Total:               554      77806
    Implicit Withdraw:            208      41767
    Explicit Withdraw:            170      32744
    Used as bestpath:             n/a       2964
    Used as multipath:            n/a          0

Hope it helps,

	oli



More information about the cisco-nsp mailing list