Users Guide

Table Of Contents
To filter IPv4 routes imported from across VRFs, use a route map.
Use the no form of this command to remove the imported routes.
Example
OS10(conf-vrf)# ip route-import 1:1 ==> No route-map attached
OS10(conf-vrf)# ip route-import 1:1 route-map importOSPFBGProutes
Supported
Releases
10.4.3.0 or later
ip route-export
Exports an IPv4 static route from one VRF instance to another.
Syntax
[no] ip route-export route-target [route-map route-map-name]
Parameters
route-targetEnter the route-target of the VRF instance.
route-map route-map-name(Optional) Enter the route-map name to specify the route-map.
Default Not configured
Command Mode VRF CONFIG
Usage
Information
You can export routes corresponding only to a nondefault or a default VRF instance. You cannot export
routes that belong to a management VRF instance.
This command exports all routes from static, connected, BGP, OSPF, and EVPN routes in a VRF to
another VRF. To export only a set of routes from a specific routing protocol, use the match source-
protocol command.
Use the no form of this command to undo the configuration.
Example
OS10(config-vrf)# ip route-export 1:1 ==> No route-map attached
OS10(config-vrf)# ip route-export 1:1 route-map abc ==> Route-map abc
attached to filter export routes
OS10(conf-vrf)# ip route-export 1:1 route-map exportBGPEVPNroutes
OS10(config-vrf)# exit
OS10(config)# route-map exportBGPEVPNroutes
OS10(config-route-map)# match source-protocol bgp evpn
OS10(config-route-map)# match source-protocol static
Supported
Releases
10.4.3.0 or later
ipv6 route-import
Imports an IPv6 static route into a VRF instance from another VRF instance.
Syntax
[no] ipv6 route-import route-target [route-map route-map-name]
Parameters
route-targetEnter the route-target of the VRF instance.
route-map route-map-nameEnter the name of the route map to filter IPv6 routes imported
from a VRF.
Default Not configured
Command Mode VRF CONFIG
Usage
Information
You can import IPv6 routes corresponding only to a nondefault or a default VRF instance. You cannot
import IPv6 routes that belong to a management VRF instance into another VRF instance.
Layer 3 759