Users Guide

Table Of Contents
OS10(conf-vrf)# ip route-import 1:1
OS10(conf-vrf)# ip route-export 2:2 route-map export_iBGP
Example - Leak only IPv6 iBGP routes
In the following example, a route map exports only the iBGP routes from vrf1 and is received by vrf2.
OS10(config)# route-map export_iBGP
OS10(config-route-map)# match source-protocol bgp ibgp
OS10(config)# ip vrf vrf1
OS10(conf-vrf)# ipv6 route-export 1:1 route-map export_iBGP
OS10(conf-vrf)# ipv6 route-import 2:2
OS10(conf-vrf)# exit
OS10(config)# ip vrf vrf2
OS10(conf-vrf)# ipv6 route-import 1:1
OS10(conf-vrf)# ipv6 route-export 2:2 route-map export_iBGP
Example - Leak only IPv4 eBGP routes
In the following example, a route map exports only the eBGP routes from vrf1 and is received by vrf2.
OS10(config)# route-map export_eBGP
OS10(config-route-map)# match source-protocol bgp ebgp
OS10(config)# ip vrf vrf1
OS10(conf-vrf)# ip route-export 1:1 route-map export_eBGP
OS10(conf-vrf)# ip route-import 2:2
OS10(conf-vrf)# exit
OS10(config)# ip vrf vrf2
OS10(conf-vrf)# ip route-import 1:1
OS10(conf-vrf)# ip route-export 2:2 route-map export_eBGP
Example - Leak only IPv6 eBGP routes
In the following example, a route map exports only the eBGP routes from vrf1 and is received by vrf2.
OS10(config)# route-map export_eBGP
OS10(config-route-map)# match source-protocol bgp ebgp
OS10(config)# ip vrf vrf1
OS10(conf-vrf)# ipv6 route-export 1:1 route-map export_eBGP
OS10(conf-vrf)# ipv6 route-import 2:2
OS10(conf-vrf)# exit
OS10(config)# ip vrf vrf2
OS10(conf-vrf)# ipv6 route-import 1:1
OS10(conf-vrf)# ipv6 route-export 2:2 route-map export_eBGP
Example - Leak only IPv4 EVPN routes to the default VRF instance
In the following example, a route map exports only the EVPN routes from vrf1 and is received by vrf2.
OS10(config)# route-map export_EVPN
OS10(config-route-map)# match source-protocol bgp evpn
OS10(config)# ip vrf vrf1
OS10(conf-vrf)# ip route-export 1:1 route-map export_EVPN
OS10(conf-vrf)# ip route-import 2:2
OS10(conf-vrf)# exit
OS10(config)# ip route-import 1:1
OS10(config)# ip route-export 2:2 route-map export_EVPN
Example - Leak only IPv6 EVPN routes to the default VRF instance
In the following example, a route map exports only the EVPN routes from vrf1 and is received by vrf2.
OS10(config)# route-map export_EVPN
OS10(config-route-map)# match source-protocol bgp evpn
OS10(config)# ip vrf vrf1
OS10(conf-vrf)# ipv6 route-export 1:1 route-map export_EVPN
OS10(conf-vrf)# ipv6 route-import 2:2
OS10(conf-vrf)# exit
OS10(config)# ipv6 route-import 1:1
OS10(config)# ipv6 route-export 2:2 route-map export_EVPN
Layer 3
741