SUMMARY STEPS
1.
configure
2.
vrf vrf_name
3.
address-family {ipv4 | ipv6} unicast
4.
Use one of these options:
•
import from default-vrf route-policy route-policy-name [advertise-as-vpn]
•
export to default-vrf route-policy route-policy-name
5.
commit
DETAILED STEPS
Step 1
configure
Step 2
vrf vrf_name
Example:
RP/0/RSP0/CPU0:PE51_ASR-9010(config)#vrf vrf_1
Enters VRF configuration mode.
Step 3
address-family {ipv4 | ipv6} unicast
Example:
RP/0/RP0/CPU0:router(config-vrf)#address-family ipv6 unicast
Enters VRF address-family configuration mode.
Step 4
Use one of these options:
•
import from default-vrf route-policy route-policy-name [advertise-as-vpn]
•
export to default-vrf route-policy route-policy-name
Example:
RP/0/RP0/CPU0:router(config-vrf-af)#import from default-vrf route-policy rpl_dynamic_route_import
or
RP/0/RP0/CPU0:router(config-vrf-af)#export to default-vrf route-policy rpl_dynamic_route_export
Imports routes from default-VRF to non-default VRF or from non-default VRF to default-VRF.
• import from default-vrf—configures import from default-VRF to non-default-VRF.
If the advertise-as-vpn option is configured, the paths imported from the default-VRF to the non-default-VRF are
advertised to the PEs as well as to the CEs. If the advertise-as-vpn option is not configured, the paths imported
from the default-VRF to the non-default-VRF are not advertised to the PE. However, the paths are still advertised
to the CEs.
• export to default-vrf—configures import from non-default-VRF to default VRF. The paths imported from the
default-VRF are advertised to other PEs.
BGP Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x    
101
Implementing BGP
BGP VRF Dynamic Route Leaking