Cisco Cisco IOS Software Release 12.2(33)SRE

Descargar
Página de 30
MPLS VPN—VRF CLI for IPv4 and IPv6 VPNs
  How to Configure MPLS VPN—VRF CLI for IPv4 and IPv6 VPNs
6
Cisco IOS Release 12.2(33)SRB
 address-family ipv4
 exit-address-family
 !
 address-family ipv6
 route-target export 100:1
 route-target import 100:1
 route-target import 100:3
 exit-address-family
How to Configure MPLS VPN—VRF CLI for IPv4 and IPv6 VPNs
This feature provides Cisco IOS CLI commands that allow you to configure a multiprotocol VRF (IPv4 
and IPv6 VPNs in the same VRF) and to migrate a single-protocol VRF configuration (IPv4-only VRF) 
to a multiprotocol VRF configuration. 
A multiprotocol VRF allows you to share route targets policies (import and export) between IPv4 and 
IPv6 or to configure separate route-target policies for IPv4 and IPv6 VPNs. 
Perform the following tasks to configure or migrate to the MPLS VPN—VRF CLI for IPv4 and IPv6 
VPNs feature: 
 (required)
 (optional)
Perform the following task to migrate from a single-protocol VRF to a multiprotocol VRF configuration:
Configuring a VRF for IPv4 and IPv6 VPNs 
Perform the following task to configure a VRF for IPv4 and IPv6 VPNs. When you configure a VRF for 
both IPv4 and IPv6 VPNs (a multiprotocol VRF), you can choose to configure route-target policies that 
apply to all address-families in the VRF or you can configure route-target policies that apply to 
individual address families in the VRF. 
The following task shows how to configure a VRF that has that has route-target policies defined for IPv4 
and IPv6 VPNs in separate VRF address families.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
vrf definition vrf-name
4.
rd route-distinguisher
5.
address-family {ipv4 | ipv6}
6.
route-target {import | export | bothroute-target-ext-community
7.
exit-address-family
8.
address-family {ipv4 | ipv6}
9.
route-target {import | export | bothroute-target-ext-community