Behavior of multiple match inside one route-map command
Hi, If I have more than one 'match' clause inside a route-map, how does the route-map work? - is an 'AND' applied - is an 'OR' applied For instance route-map rm-UPSTREAM-IN permit 10 match peer 2001:db8::1 match ipv6 address prefix-list pl-DEFAULT-IPv6 set local-preference 250 Will FRR apply the local-preference when the 2 conditions match ? Thanks in advance. -- Willy Manga
Hi, for the record, answer to myself :) On 28/02/2025 19:04, Willy Manga wrote:
Hi,
If I have more than one 'match' clause inside a route-map, how does the route-map work? - is an 'AND' applied - is an 'OR' applied
For instance
route-map rm-UPSTREAM-IN permit 10 match peer 2001:db8::1 match ipv6 address prefix-list pl-DEFAULT-IPv6 set local-preference 250
Will FRR apply the local-preference when the 2 conditions match ?
Yes. Both will be considered. It's an : AND. It also explained on the example in the documentation , under "further considerations", in the second example. [1] 1. https://docs.frrouting.org/en/stable-10.0/bgp.html#further-considerations-ab... -- Willy Manga
participants (1)
-
Willy Manga