Hello,
I'm struggling with setting up the route-filter that could allow me to reject subnet 10.82.1.0/24 from received 10.82.0.0/16 from BGP peer.
I was trying something like this but it is not working as /24 is smaller than received /16, so whenever I'm using e.g.: 'show route 10.82.1.1' it shows the path through 10.82.0.0/16.
set policy-options policy-statement from_bgp term 1 from protocol bgp
set policy-options policy-statement from_bgp term 1 from route-filter 10.82.1.0/24 exact
set policy-options policy-statement from_bgp term 1 then reject
Can you please help me solve this problem?
Thank you in advance!
------------------------------
Maciej Prokopowicz
------------------------------