Assuming I interpreted your question correctly, ;-) You could do
something like this:
policy-statement MY-TRANSIT-TAGGING {
term SEQ-100 {
from community MY-TRANSIT-PROVIDERS;
then community set ASN-TRANSIT;
}
}
community MY-TRANSIT-PROVIDERS members ASN:15(0|5);
community ASN-TRANSIT members ASN:100;
Someone might want to sanity-check my regexp since I don't have our
Juniper in our lab yet to test this.
This should match ASN:150 -or- ASN:155 and in turn set community ASN:100
overwriting ASN:150 and ASN:155. If you did not want to overwrite the
original communities you could just do a "community add" instead of
"community set".
-Dave
Christian Malo wrote:
>
> Hi,
>
> How can I create a community that will include other communities
>
> for example
>
> I have transit with community ASN:150
> and transit2 with community ASN:155
>
> how can I create a community named ASN:100 that will include all my
> transit routes ?
>
> thanks
>
> chris
-- +-------------------------+ Dave McGaugh Internetwork Engineer Electric Lightwave, Inc.
This archive was generated by hypermail 2b29 : Mon Aug 05 2002 - 10:42:38 EDT