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.
ipv6 route-export
Enables route leaking between VRFs. Exports or shares IPv6 routes corresponding to one VRF with other
non-default VRFs.
Syntax ipv6 route-export tag [route-map-name]
Parameters route-export Enter the keyword route-export to leak or share routes
between VRFs.
tag Enter a tag (ASN number) as the export route target to
expose routes to other VRFs. This tag acts as an identifier for
exported routes. You can use this identifier while importing
these routes into another non-default VRF.
route-map-
name
(Optional) Enter the name of the route-map to filter the
exported routes. You can leak global routes to be made
available to VRFs. As the global RTM usually contains a large
pool of routes, when the destination VRF imports global
routes, these routes will be duplicated into the VRF's RTM. As
a result, it is mandatory to use route-maps to filter out leaked
routes while sharing global routes with VRFs.
1612 Virtual Routing and Forwarding (VRF)