hi all
I want to prevent certain directly connected routes from being advertise into OSPF
How do i do that ?
set policy-options policy-statement static_to_ospf term 2 from protocol direct
set policy-options policy-statement static_to_ospf term 2 from route-filter 192.168.1.0/24 exact
set policy-options policy-statement static_to_ospf term 2 then reject
set protocols ospf area 0.0.0.0 interface irb.2
set protocols ospf area 0.0.0.0 interface irb.97
set protocols ospf export static_to_ospf
irb.2 is directly connected to 192.168.1.0/24
i want to prevent 192.168.1.0/24 from being advertised though irb.97 but still able to receive routing updates
Thank you