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
PurposeCommand or Action
configure
Step 1
Enters VRF configuration mode.
vrf vrf_name
Example:
RP/0/RSP0/CPU0:PE51_ASR-9010(config)#vrf vrf_1
Step 2
Enters VRF address-family configuration mode.address-family {ipv4 | ipv6} unicast
Example:
RP/0/RSP0/CPU0:router(config-vrf)#address-family
ipv6 unicast
Step 3
Imports routes from default-VRF to non-default VRF or from
non-default VRF to default-VRF.
Use one of these options:
Step 4
•
import from default-vrf route-policy
route-policy-name [advertise-as-vpn]
• import from default-vrf—configures import from
default-VRF to non-default-VRF.
•
export to default-vrf route-policy
route-policy-name
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
Example:
RP/0/RSP0/CPU0:router(config-vrf-af)#import from
default-vrf route-policy
rpl_dynamic_route_import
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.
or
RP/0/RSP0/CPU0:router(config-vrf-af)#export to
default-vrf route-policy rpl_dynamic_route_export
• 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.
commit
Step 5
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x
OL-30423-03 151
Implementing BGP
Configuring VRF Dynamic Route Leaking