Hi Team,
Below is my config and my BGP route-maps are not getting updated or applied to the peers. Can someone please help? This is Vyos 1.2.8. I just want to accept 10.11.44.0 subnet and deny rest of those.
set policy prefix-list accept-only-s4 rule 2 action 'deny'
set policy prefix-list accept-only-s4 rule 2 prefix '192.168.11.0/24'
set policy prefix-list accept-only-s4 rule 3 action 'deny'
set policy prefix-list accept-only-s4 rule 3 prefix '192.168.10.0/24'
set policy route-map accept-only-s4 rule 2 action 'deny'
set policy route-map accept-only-s4 rule 2 match ip address prefix-list 'accept-only-s4'
set policy route-map accept-only-s4 rule 4 action 'permit'
set protocols bgp 65506 neighbor 169.254.21.1 address-family ipv4-unicast route-map import 'accept-only-s4'
set protocols bgp 65506 neighbor 169.254.22.1 address-family ipv4-unicast route-map import 'accept-only-s4'
Do I need to restart BGP service thereafter?
Network Next Hop Metric LocPrf Weight Path
* 10.11.44.0/22 169.254.22.1 0 65515 i
*> 169.254.21.1 100 65515 i
* 192.168.10.0/24 169.254.22.1 0 0 65515 65505 i
*> 169.254.21.1 100 65515 65505 i
* 192.168.11.0/24 169.254.22.1 0 0 65515 65505 i
*> 169.254.21.1 100 65515 65505 i