[j-nsp] advertised route count

Jared Mauch jared at puck.nether.net
Fri Dec 19 14:30:56 EST 2003


On Fri, Dec 19, 2003 at 02:28:36PM -0500, Richard A Steenbergen wrote:
> Is there an easy way to obtain a count for the number of advertised routes
> on a specific peer? By easy I mean, easier than show route adv bgp x.x.x.x |
> count and then subtracting out the number of blank and header lines? I 
> don't see anything in show bgp neighbor, which is the logical place I 
> would assume this would be (right next to the Active prefixes and Received 
> prefixes counts).
> 
> Also, is there a command I just can't seem to find, or any plans to add a 
> command under "show route" that matches only the paths selected "best" 
> and/or are installed for forwarding? "show route whatever | except \*" 
> works if you're fine with "terse", but not for much else.

	enterprises.2636.5.1.1.2.6.2.1

	is what you want.  You also want recent software such as 6.0/6.1
I seem to recall.

	- jared

-- 
Jared Mauch  | pgp key available via finger from jared at puck.nether.net
clue++;      | http://puck.nether.net/~jared/  My statements are only mine.


More information about the juniper-nsp mailing list