Hello dear friends.
I need to run ospf inside an existing routing instance, for example:
[rrouting-instances RAN]
instance-type virtual-router;
interface ae6.3;
interface irb.3;
routing-options {
static {
route 172.23.254.0/24 next-hop 172.31.1.18; ############# I need to distribute this route on ospf.
}
}
protocols {
ospf {
export toMW_Mgmt;
area 0.0.0.0 {
interface ae6.3;
}
}
}
############### out of vrf
[policy-options policy-statement toMW_Mgmt]
term MAIN_TERM {
from {
instance RAN;
route-filter 172.23.254.0/24 exact;
}
then accept;
}
My concern is:
Routes learned by ospf , will be writed on on RAN.inet.0 ??
Static route (described avobe) will be destrubuted ?
Other option can be run ospf in default routing instance and then write routes to RAN.inet.0 using RIBs ... but I rather no to do it ... I don have it clear.
I have not tested it yet since a don't have a maintainance windows , i would like to be sure.
Any comment would be preciated.
THX!.