Configuring IP VRF Route Leak
OmniSwitch AOS Release 8 Network Configuration Guide December 2017 page 15-41
7 Redistribute imported routes to other routing protocols that are imported and added to the RDB from
other VRFs using the ip redist command. For example,
-> ip redist import into ospf route-map R3 status enable
Configuring VRF Route Leak
This section describes how to configure VRF Route Leak using the CLI commands.
Export Routes to the GRT
Export routes from the source VRF to the Global Routing Table (GRT). Use route map to filter routes.
Only those FDB (Forwarding Routing Database) routes that match the conditions of the route map are
exported to GRT.
If VRF is not configured, the routes are exported from the default VRF to GRT. Only one-route map can
be configured as export policy in a VRF. Route leaking between VRFs only supports IPv4 routes.
To export routes from the default VRF, enter the ip export command at the CLI prompt as shown:
-> ip export route-map R1
To export routes from a specific VRF, specify the VRF globally or enter into the specific VRF instance
and enter ip export command:
-> vrf vrf2 ip export route-map R1
-> vrf vrf1
vrf1::-> ip export route-map R1
To disable exporting of routes from the VRF to the GRT, use the no form of this command as shown:
-> no ip export R1
Note. As a pre-requisite to export routes, create a route map and define protocol preference for the route
map by using the ip route-map commands. A route map configured for an export policy can contain any of
the following filter and set options:
• Filter options: ip-address, ip-next-hop, tag, protocol, ipv4-interface, metric, route-type
• Set option: tag, metric
If the tag or metric set option is not used in the export route map, the existing tag or metric value associated
with the route is passed through unchanged. For example, a route tag is passed to the GRT unchanged
unless the value is reset by a tag set clause in the export route map.
For route map configuration and match extensions, see “Using Route Maps” on page 15-21.