Hey folks,
I receive routes from a number of different BGP peers, and I'm looking for a way inject a select few of them into a virtual-routing instance. I've been able to get static, direct, and ospf routes to import, but I've had no such luck with BGP.
dscott@SRX-650> show configuration routing-options rib-groups to-instance-isp2
import-rib [ inet.0 VR_ISP2.inet.0 ];
import-policy MAIN-TO-ISP2;
dscott@SRX-650> show configuration policy-options policy-statement MAIN-TO-ISP2
term Main_static {
from {
protocol static;
route-filter 10.0.0.0/20 exact;
}
then accept;
}
term Main_BGP {
from {
protocol bgp;
route-filter 10.11.80.0/20 exact;
}
then accept;
}
term reject {
then reject;
}
dscott@SRX-650> show configuration routing-instances VR_ISP2
instance-type virtual-router;
interface reth7.0;
routing-options {
static {
route 0.0.0.0/0 next-hop x.x.x.x;
}
instance-export MAIN-TO-ISP2;
}
I think the problem I'm having is not knowing where/how to set the BGP appropriate version of something like "set protocols ospf rib-group to-instance-isp2"
Thanks,
Dustin