[j-nsp] Routes matching two or more communities

Daniel Roesen dr at cluenet.de
Wed May 14 01:56:52 EDT 2003


On Tue, May 13, 2003 at 05:58:51PM -0400, Hazim Oumera wrote:
> 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

This won't give you the count of routes... you will have to filter
the output first, e.g.

show ... | match \* | match localpref | count


Regards,
Daniel


More information about the juniper-nsp mailing list