Service Manual

congure at most one route-export per VRF as only one set of routes can be exposed for leaking. However,
you can congure multiple route-import targets because a VRF can accept routes from multiple VRFs.
You can expose a unique set of routes from the Source VRF for Leaking to other VRFs. When two VRFs leak
or export routes, there is no option to discretely lter leaked routes from each source VRF. Meaning, you
cannot import one set of routes from one VRF and another set of routes from another VRF.
Only Active routes are eligible for leaking. For example, if one VRF has two routes corresponding to BGP and
OSPF, in which the BGP route is not active, the OSPF route takes precedence over BGP. Even though the
Target VRF has specied ltering options to match BGP, the BGP route is not leaked as that route is not
active in the Source VRF.
Related Commands ip route-import – imports routes from another VRF.
ip route-import
Imports IPv4 routes that are leaked by another VRF using the tag specied by that VRF during export of these routes.
Syntax
ip route-import tag [route-map—name]
Parameters
route-import Enter the keyword route-import to import routes into the VRF.
tag Enter a tag (ASN number) to specify an import route target for importing routes
from another VRF.
To import leaked routes from another VRF, you must use the same ASN number
that is specied as the export route target at the source VRF.
route-map-name Enter the name of the route-map to lter the imported routes.
NOTE: You must use the route-map attribute while importing routes from
the global RTM. Route-maps enable you to lter routes at the import end
based on the matching criteria that you dene in the route-map.
Defaults N/A
Command Modes
CONFIGURATION
VRF MODE
Command History
Version Description
9.8(0.0) Introduced on the S3048-ON and S4048-ON.
9.7(0.0) Introduced on the S4810, S4820T, S5000, S6000, S6000–ON, and Z9500.
Usage Information It is possible to congure multiple import conditions per VRF depending on the exporting VRF.
The export-target and import-target support only the match protocol and match prex-list options. Other
options that are congured in the route-maps are ignored.
Related Commands ip route-export – exports routes to another VRF.
1484
Virtual Routing and Forwarding (VRF)