Connecting MPLS VPN Customers
DETAILED STEPS
Step 1
configure
Example:
RP/0/RP0/CPU0:router# configure
Enters Global Configuration mode.
Step 2
vrf vrf-name
Example:
RP/0/RP0/CPU0:router(config)# vrf vrf_1
Configures a VRF instance and enters VRF configuration mode.
Step 3
address-family ipv4 unicast
Example:
RP/0/RP0/CPU0:router(config-vrf)# address-family ipv4 unicast
Enters VRF address family configuration mode for the IPv4 address family.
Step 4
import route-policy policy-name
Example:
RP/0/RP0/CPU0:router(config-vrf-af)# import route-policy policy_A
Specifies a route policy that can be imported into the local VPN.
Step 5
import route-target [ as-number:nn | ip-address:nn ]
Example:
RP/0/RP0/CPU0:router(config-vrf-af)# import route-target 120:1
Allows exported VPN routes to be imported into the VPN if one of the route targets of the exported route matches one
of the local VPN import route targets.
Step 6
export route-policy policy-name
Example:
RP/0/RP0/CPU0:router(config-vrf-af)# export route-policy policy_B
Specifies a route policy that can be exported from the local VPN.
Step 7
export route-target [ as-number:nn | ip-address:nn ]
Example:
RP/0/RP0/CPU0:router(config-vrf-af)# export route-target 120:2
Cisco IOS XR Virtual Private Network Configuration Guide for the Cisco CRS Router, Release 6.1.x
200
Implementing MPLS Layer 3 VPNs