interface-routes or direct routes ( route leaking )


https://www.juniper.net/documentation/en_US/junos/topics/reference/configuration-statement/interface-routes-edit-routing-options.html


use with rib-group, use to export Directly connected interfaces routing information ( routes) from the routing table ( master or other vrf/vr ) into the RIB group ( itself pointing to other table as destination ) or into another family.





from main
edit routing-options interface-routes rib-group group-name;
from VR instanceedit routing-instances routing-instance-name routing-options interface-routes rib-group group-name;