[c-nsp] match multiple communities in route-map

Michael K. Smith - Adhost mksmith at adhost.com
Tue Mar 24 12:04:39 EDT 2009


Hello Andy:

I don't think you want the two match-community statements in your first two route-map statements.  So, that would be:
> 
> route-map IX-TEST-OUT permit 10
>   match community PREPEND-1-PEERING
--   match community PEERING-OUT
>   set as-path prepend 65001
> 
> route-map IX-TEST-OUT permit 20
>   match community PREPEND-2-PEERING
--   match community PEERING-OUT
>   set as-path prepend 65001 65001
> 
> route-map IX-TEST-OUT permit 30
>   match community PEERING-OUT
> 

Also, you might want to confirm you're seeing the right stuff in your community sets using the "sho ip bgp community-list PEERING-OUT|PREPEND-1-PEERING, etc.

Regards,

Mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 474 bytes
Desc: not available
URL: <https://puck.nether.net/pipermail/cisco-nsp/attachments/20090324/1820735f/attachment.bin>


More information about the cisco-nsp mailing list