[c-nsp] Route map matching, tags and community question
Blake Dunlap
ikiris at gmail.com
Mon Apr 22 20:48:39 EDT 2013
Doesn't have to though...
http://www.cisco.com/en/US/docs/ios-xml/ios/iproute_bgp/configuration/15-mt/irg-route-map-continue.html
Which makes it *very* powerful
-Blake
On Mon, Apr 22, 2013 at 5:50 PM, Scott Granados <scott at granados-llc.net>wrote:
> You've got it pretty much on the money. The thing to remember in your /
> this example is that when a route map gets a match it exits and takes the
> action based on the match.
>
> On Apr 22, 2013, at 5:08 PM, David Hubbard <dhubbard at dino.hostasaurus.com>
> wrote:
>
> > From: Jon Lewis [mailto:jlewis at lewis.org]
> >>
> >> On Mon, 22 Apr 2013, Gert Doering wrote:
> >>
> >>> Hi,
> >>>
> >>> On Mon, Apr 22, 2013 at 04:25:11PM -0400, David Hubbard wrote:
> >>>> route-map upstream-one permit 10
> >>>> set community 1:123
> >>>
> >>> "set community 1:123 additive"
> >>
> >> OTOH, if you're having them RTBH an IP, do you really care
> >> about any of the other community tags to do various TE "stuff"?
> >> For each neighbor that supports RTBH, the output route-map for
> >> that neighbor should have as its first permit entry, a check
> >> for your internal blackhole community with a set community for
> >> whatever that neighbor needs for RTBH.
> >
> > Gert, thanks for the additivite tip; was not aware of that.
> >
> > Jon, correct, if it's a /32 advertisement, I don't really care
> > about the other communities for that specific advertisement.
> > So you're saying I should be fine with something like this
> > instead to keep it simple?
> >
> > route-map upstream-one permit 10
> > match tag 67
> > set community 1:67
> > route-map upstream-one permit 11
> > set community 1:123
> >
> > I assume after the first sequence, an export route map exits
> > unless there's a continue set?
> >
> > Thanks,
> >
> > David
> >
> > _______________________________________________
> > cisco-nsp mailing list cisco-nsp at puck.nether.net
> > https://puck.nether.net/mailman/listinfo/cisco-nsp
> > archive at http://puck.nether.net/pipermail/cisco-nsp/
>
>
> _______________________________________________
> cisco-nsp mailing list cisco-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-nsp
> archive at http://puck.nether.net/pipermail/cisco-nsp/
>
More information about the cisco-nsp
mailing list