VPNs rely on the routes in the inet.3 routing table to function properly. For VPNs, configure the bgp-igp-both-ribs option of the traffic-engineering statement to cause BGP and the IGPs to use LSPs for forwarding traffic destined for egress routers. The bgp-igp-both-ribs option installs the ingress routes in both the inet.0 routing table (for IPv4 unicast routes) and the inet.3 routing table (for MPLS path information).
On the ingress router, include the traffic-engineering bgp-igp-both-ribs statement:
-
traffic-engineering bgp-igp-both-ribs;
You can include this statement at the following hierarchy levels: