So I’m trying to tag 10.4.4.0/24 with a tag of 10, while avoiding redistributing 192.168.4.0/31. My route map/prefix list succeeds in suppressing 192.168.4.0/31, but fails to tag the route on 10.4. If I remove the prefix list, both are advertised, but only 192 gets tagged. I’m running 1_3_rolling_202303151403 on KVM.
Not sure what I’m doing wrong, as both are connected routes. The only difference between eth0 and eth2 is that eth2 is in a vrrp group, and eth0 is the peer address upstream.
set interfaces ethernet eth0 address '192.168.4.0/31'
set interfaces ethernet eth2 address '10.4.4.2/24'
set policy prefix-list data rule 1 action 'permit'
set policy prefix-list data rule 1 prefix '10.4.4.0/24'
set policy route-map tag rule 1 action 'permit'
set policy route-map tag rule 1 match ip address prefix-list 'data'
set policy route-map tag rule 1 set tag '10'
set protocols ospf redistribute connected route-map 'tag'