[quagga-users 14577] Re: Adding multiple communities to an advertised network
Alexis Rosen <[email protected]>
| Newsgroups | gmane.network.quagga.user |
|---|---|
| Message-ID | <[email protected]> |
On Jan 5, 2017, at 4:50 PM, Eric Germann <[email protected]> wrote: > I wil describe the issue, then attach the config for reference. > > I have a router that will advertise 13 subnets into our private cloud. We’re using the large communities patch and it seems to work well and is stable. > > The issue I have is this. I want to be able to tag the same subnet with multiple communities. The below config works, sort of. > > It stops at the “permit 10” stanza of rm-tag-subnets-out. I presume this is because it matches so it gives up on the rest of the map. Fair enough. > > I add a “continue” clause under the set command and it does continue on down the chain, but the number of advertised networks dwindle. It’s as if it’s AND’ing them together > > What I want for it to do is if it matches, add the community, if not, move on down the list, but don’t strip out that network from being advertised upstream. If I'm understanding you correctly, it is indeed "AND'ing them together", in this sense: routes are tested against match conditions, and if they match, then they are set as indicated and then passed. If you "continue", the set is performed, but there is no matchiness associated to the route. So if it doens't match again later, it is rejected. To fix this, you'll need to have additional match stanzas, after all your existing ones do their setting, to make sure that every route you want to pass gets matched. In your setup, you could either make one new prefix-list to encompass all of them, or just duplicate all the stanzas of the route map, keeping all the matches and not doing the sets. /a _______________________________________________ Quagga-users mailing list [email protected] https://lists.quagga.net/mailman/listinfo/quagga-users