Administrator Guide

Only active routes are eligible for sharing. For example, if one VRF has two routes corresponding to BGP and
OSPF, and the BGP route is inactive, the OSPF route takes precedence over BGP. The inactive BGP route is not
shared even when the target VRF has the filtering options enabled to match BGP.
Related
Commands
ip route-import – imports routes from another VRF.
ip route-import
Import IPv4 routes leaked by another VRF using the tag specified by that VRF during route-export process.
C9000 Series
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 Not configured.
Command Modes
CONFIGURATION
VRF MODE
Command History
Version Description
9.9(0.0) Introduced on the C9010.
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 You can 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, all other
options configured in the route-map are ignored.
Related
Commands
ip route-export – exports routes to another VRF.
ipv6 route-export
Enable route leaking between VRFs. Export or share IPv6 routes corresponding to one VRF with other non-default VRFs.
C9000 Series
Syntax
ipv6 route-export tag [route-map-name]
Parameters
route-export Enter the keyword route-export to leak or share routes between VRFs.
Virtual Routing and Forwarding (VRF) 1713