[j-nsp] Routes matching two or more communities
Hazim Oumera
houmera at ajax.opentransit.net
Tue May 13 18:58:51 EDT 2003
Thanks for the suggestions. The following command almost helped me count
the routes I needed:
show route community [5511:500 "5511:5[0-2][1-8]" "no-export"] | count
Using double quotes was necessary when using ranges. I am still tuning the
expression as the original objective was to match the above with "NOT
no-export" instead of "no-export".
Regards,
Hazim
On Tue, 13 May 2003, Daniel Roesen wrote:
> On Tue, May 13, 2003 at 04:26:04PM -0400, Hazim Oumera wrote:
> > I am trying to count all routes that match 2 of my communities.
>
> ...which match BOTH or EITHER ONE of the two?
>
> > A command of the type: sh route community "AS:nnn AS:zzz" does
> > not result in any routes even though I found such routes.
>
> Try:
>
> show route community [ AS:nnn AS:zzz ]
>
> This shows all routes matching both communities.
>
>
> Regards,
> Daniel
> _______________________________________________
> juniper-nsp mailing list juniper-nsp at puck.nether.net
> http://puck.nether.net/mailman/listinfo/juniper-nsp
>
More information about the juniper-nsp
mailing list