Overview
In earlier releases of JUNOS software, interinstance route sharing often required configuration of routing table groups by means of the
rib-groupstatement. Although these configurations performed well, the routing table group technique had several limitations:
- Lack of intuitiveness—A routing table group is an unfamiliar configuration construct for many users.
- Complex configuration requirements—Routing table groups specify a primary import routing table that must match the routing table of the VRF instance on which they are applied. Thus, a different routing table group is defined for each of the instances that participate in interinstance route export.
- Redundancy—The information imported and exported by the routing table groups is already present in the router or can be deduced from most configurations (for example, overlapping VPNs).
- Per-protocol configuration—Routing table groups must be applied to every protocol containing routes designated for export.
There are two typical situations in which interinstance export is used:
- Overlapping VPNs: These occur in VPN configurations when more than one VRF instance lists the same community route target in a
vrf-importpolicy. In this case, the use of routing table groups is particularly tricky. Incoming routes from other provider edge (PE) routers are automatically imported according to the community route targets, but local VRFs require additional configuration.- Non-forwarding instances: It is possible to implement multi-level Interior Gateway Protocols (IGPs) using multiple routing instances and perform route-sharing through interinstance route export. The IGP export policy contains the specific instances that are permitted to advertise routes.
These two scenarios differ in the way that policy clauses are specified (route targets in the VRF case; instances in the IGP routing instance case), but are similar in that import and export routes can be deduced by examining the policy configuration. In this guide, you can learn about new hierarchy statements that simplify interinstance route sharing, such as
auto-export,instance-import, andinstance-export.