I have two routes 172.17.10.0/24 and 172.17.2.0/24 that are directly connected.
BGP neighborship is up.
My attempt:
Code: Select all
/routing bgp template
set default as=65536 redistribute=connected
/routing bgp connection
add local.role=ebgp name=cust123 output.filter=BGP-OUT remote.address=172.24.2.41 .as=65511 templates=default
/routing filter rule
add chain=BGP-OUT rule=" if ([num value=dst-len<greater-than>19] && [ prfx value=dst<subsumes>172.17.0.0/19]) then={action accept } "
My end goal is to replicate this filter from ROSv6. But I am not even advertising my /24 routes.
Code: Select all
/routing filter
add action=accept chain=BGP-OUT prefix=172.17.0.0/19 prefix-length=19-32
add action=discard chain=BGP-OUT comment="Default discard"