Configuring IP VRF Route Leak
OmniSwitch AOS Release 7 Network Configuration Guide June 2013 page 15-39
Import Routes from GRT
Import routes from GRT to the destination VRF. Use route-map to filter imported routes. Only one-route
map can be configured for an import policy for each export VRF.
Note. As a pre-requisite to import routes, create a route-map and define protocol preference for the route
map by using ip route-map and ip route-map match commands. Route map configured for the import
policy can contain any of the following filter and set options:
• Filter options: ip-address, ip-next-hop, tag, metric
• Set option: tag, metric
For route map configuration and match extensions, “Using Route Maps” on page 15-17.
To import routes from the GRT to the destination VRF, enter the ip import command at the CLI prompt
as shown:
-> ip import vrf V1 route-map R2
To disable importing of routes from the GRT, use the no form of this command as shown:
-> no ip import VRF V1
Configure Route Preference for Imported Routes
To configure the route preference for the routes that are imported and added to the RDB from other VRFs,
use the ip route-pref command with the import parameter. For example,
-> ip route-pref import 100
Leaked routes are only for forwarding. If a local route is leaked, that interface is not accessible in the
importing VRF. Another switch will not be able to ping the interface in the import VRF.
Redistribute Imported Routes
To enable redistribution of imported routes that are imported and added to the RDB from other VRFs into
routing protocols in the routing instance, use the ip redist command. For example,
-> ip redist import into ospf route-map R3 status enable
Verifying VRF Route Leak Configuration
A summary of the commands used for verifying the VRF Route Leak configuration is given here:
The imported routes are also displayed under the protocol field as IMPORT in the show ip routes, show
ip route-pref, show ip redist, and show ip router database commands.
For more information about the output details that result from the show commands, see the
OmniSwitch CLI Reference Guide.
show ip export Displays the export route configuration details.
show ip import Displays the import route configuration details.
show ip global-route-table Displays the GRT for all the routes that are exported from the VRFs.