[FROG] Behavior of multiple match inside one route-map command
    Willy Manga 
    willym at manbene.net
       
    Wed Apr 30 19:06:08 UTC 2025
    
    
  
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-about-import-and-export-route-maps
-- 
Willy Manga
    
    
More information about the frog
mailing list