Dell Command Line Reference Guide for the S4048–ON System 9.14.2.5

PDF

ip route-export

Enables route leaking between VRFs. This command exports or shares IPv4 routes corresponding to one VRF with other nondefault VRFs.

Syntax
ip route-export tag [route-map-name]
Parameters
route-export
Enter the keywords route-export to leak or share routes between VRFs.
tag
Enter a tag (export route target) to expose routes to other VRFs. This tag acts as an identifier for exported routes. Use this identifier while importing these routes into another nondefault VRF.
route-map-name
(Optional) Enter the name of the route-map to filter the exported routes.

You can leak global routes to VRFs. As the global RTM usually contains a large pool of routes, when the destination VRF imports global routes, these routes are duplicated into the VRF's RTM. It is mandatory to use route-maps to filter out leaked routes while sharing global routes with VRFs.

Command Modes
  • VRP mode
  • CONFIGURATION mode
Command History

This guide is platform-specific. For command information about other platforms, see the relevant Dell EMC Networking OS Command Line Reference Guide.

Version
Description
9.10(0.1)
Introduced on the S6010-ON and S4048T-ON.
9.10(0.0)
Introduced on the S3148.
9.10(0.0)
Introduced on the S6100–ON.
9.8(2.0)
Introduced on the S3100 series.
9.8(1.0)
Introduced on the Z9100–ON.
9.8(0.0P5)
Introduced on the S4048-ON.
9.8(0.0P2)
Introduced on the S3048-ON.
9.7(0.0)
Introduced on the S4810, S4820T, S5000, S6000, S6000–ON, and Z9500.
Usage Information
To export all the routes corresponding to a source VRF, you can use the ip route-export tag command without specifying the route-map attribute. This action exposes source VRF routes to various other VRFs, which then import these routes using the ip route-import tag command.

In Dell EMC Networking OS, you can configure one route-export per VRF as you can only expose one set of routes for leaking. However, you can configure 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 filter leaked routes from each source VRF. For example, 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 specified filtering options to match BGP, the BGP route is not leaked as that route is not active in the Source VRF.

Related Commands

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\