Users Guide

Table Of Contents
redistribute imported-bgp-routes
Redistributes leaked eBGP and iBGP routes from a VRF domain into the BGP session of another VRF domain.
Syntax
redistribute imported-bgp-routes vrf vrf-name [route-map route-map-name]
Parameters
vrf vrf-nameEnter the VRF instance from which to import routes.
route-map route-map-nameEnter the route map name to filter the leaked BGP routes.
Defaults None
Command Mode BGP-AF
Usage
Information
Use this command with optional route maps to redistribute leaked BGP routes from one VRF to another
VRF.
Examples
Redistribute leaked BGP IPv4 routes from VRF RED to VRF BLUE
OS10(config)# router bgp 65000
OS10(config-router-bgp-65000)# vrf BLUE
OS10(config-router-bgp-65000-vrf)# address-family ipv4 unicast
OS10(configure-router-bgpv4-vrf-af)# redistribute imported-bgp-routes
vrf RED
Redistribute leaked eBGP IPv4 routes from VRF RED to VRF BLUE using a route map
OS10(config)# route-map match_source_bgp_ebgp
OS10(config-route-map)# match source-protocol bgp ebgp
OS10(config)# router bgp 65000
OS10(config-router-bgp-65000)# vrf BLUE
OS10(config-router-bgp-65000-vrf)# address-family ipv4 unicast
OS10(configure-router-bgpv4-vrf-af)# redistribute imported-bgp-routes
vrf RED route-map match_source_bgp_ebgp
Redistribute leaked BGP IPv6 routes from VRF RED to VRF BLUE
OS10(config)# router bgp 65000
OS10(config-router-bgp-65000)# vrf BLUE
OS10(config-router-bgp-65000-vrf)# address-family ipv6 unicast
OS10(configure-router-bgpv6-vrf-af)# redistribute imported-bgp-routes
vrf RED
Redistribute leaked iBGP IPv6 routes from VRF RED to VRF BLUE using a route map
OS10(config)# route-map match_source_bgp_ibgp
OS10(config-route-map)# match source-protocol bgp ibgp
OS10(config)# router bgp 65000
OS10(config-router-bgp-65000)# vrf BLUE
OS10(config-router-bgp-65000-vrf)# address-family ipv6 unicast
OS10(configure-router-bgpv6-vrf-af)# redistribute imported-bgp-routes
vrf RED route-map match_source_bgp_ibgp
Supported
Releases
10.5.2.0 or later
redistribute imported-ospf-routes
Redistributes leaked OSPF routes from all VRF domains into the OSPF session of another VRF domain.
Syntax
redistribute imported-ospf-routes [route-map route-map-name]
Parameters
route-map route-map-nameEnter the route map name to filter the leaked OSPF routes.
Defaults None
Command Mode OSPF-ROUTER
Layer 3 763