ip route-import
Imports IPv4 routes that are leaked by another VRF using the tag specified 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 specified as the export route target
at the source VRF.
route-map-
name
Enter the name of the route-map to filter the imported
routes.
NOTE: You must use the route-map attribute while
importing routes from the global RTM. Route-maps
enable you to filter routes at the import end based on
the matching criteria that you define in the route-map.
Defaults N/A
Command
Modes CONFIGURATION
VRF MODE
Command
History Version Description
9.7(0.0) Introduced on the S4810, S4820T, S5000, S6000, S6000–
ON, and Z9500.
Usage
Information
It is possible to configure multiple import conditions per VRF depending on the
exporting VRF.
The export-target and import-target support only the match protocol and match
prefix-list options. Other options that are configured in the route-maps are
ignored.
Related
Commands
ip route-export – exports routes to another VRF.
Virtual Routing and Forwarding (VRF) 1877