- mGRE Tunnel Support over IPv6
- IP over IPv6 Tunnels
- Manually Configured IPv6 over IPv4 Tunnels
- Configuring Physical Interfaces
- Configuring Virtual Interfaces
- Implementing Tunnels
- Tunnel Route Selection
- MPLS VPN over mGRE
- IP Tunnel MIBs
- IF-MIBs
- Synchronous Ethernet (SyncE) ESMC and SSM
- 1+1 SR-APS Without Bridging
- IPv6 Rapid Deployment
- IPv6 Automatic 6to4 Tunnels
- IPv6 over IPv4 GRE Tunnels
- GRE IPv6 Tunnels
- ISATAP Tunnel Support for IPv6
- VRF-Aware Tunnels
- Ethernet over GRE Tunnels
- QoS on Ethernet over GRE Tunnels
- VRF-Aware IPv6 Rapid Deployment Tunnel
- IP Tunnel - GRE Key Entropy Support
VRF-Aware IPv6 Rapid Deployment Tunnel
Virtual Routing and Forwarding - aware tunnels are used to connect customer networks separated by untrusted core networks or core networks with different infrastructures (IPv4 or IPv6). The VRF-Aware IPv6 Rapid Deployment Tunnel feature extends Virtual Routing and Forwarding (VRF) awareness to IPv6 rapid deployment tunnels.
- Finding Feature Information
- Restrictions for the VRF-Aware IPv6 Rapid Deployment Tunnel
- Information About the VRF-Aware IPv6 Rapid Deployment Tunnel
- How to Configure the VRF-Aware IPv6 Rapid Deployment Tunnel
- Additional References
- Feature Information for the VRF-Aware IPv6 Rapid Deployment Tunnel
Finding Feature Information
Your software release may not support all the features documented in this module. For the latest feature information and caveats, see the release notes for your platform and software release. To find information about the features documented in this module, and to see a list of the releases in which each feature is supported, see the feature information table at the end of this module.
Use Cisco Feature Navigator to find information about platform support and software image support. To access Cisco Feature Navigator, go to http://www.cisco.com/go/cfn. An account on Cisco.com is not required.
Restrictions for the VRF-Aware IPv6 Rapid Deployment Tunnel
The VRF- Aware IPv6 Rapid Deployment Tunnel feature has the following restrictions:
The incoming physical interface, and the tunnel interface should have the same VRF instance defined.
The tunnel transport VRF and the egress physical interface, through which the traffic leaves should have the same VRF instance defined.
For IPv6 rapid deployment Customer Edge (CE) router configuration, the tunnel source and the Border Relay (BR) router address should have the same VRF instance defined as the physical interface through which the traffic flows.
Information About the VRF-Aware IPv6 Rapid Deployment Tunnel
The IPv6 Rapid Deployment Tunnel feature allows a service provider to provide a unicast IPv6 service to customers over its IPv4 network by using encapsulation of IPv6 in IPv4. Currently, the IPv6 Rapid Deployment Tunnel feature does not support VRF. Therefore, the forwarding table look up tasks for locating IPv6 overlay addresses and IPv4 transport addresses are performed in the global routing table. The VRF-Aware IPv6 Rapid Deployment Tunnel feature extends the IPv6 rapid deployment tunneling support for IPv6 overlay addresses and IPv4 transport addresses in VRF.
The following scenarios are supported for VRF-Aware IPv6 Rapid Deployment Tunnel feature:
- The IPv6 rapid deployment tunnel is in the VRF and both IPv6 overlay address and the IPv4 transport address are in VRF.
- IPv6 rapid deployment tunnel and the IPv4 address are in VRF. The incoming global routing table IPv6 traffic selects the correct VRF, based on the IPv6 rapid deployment domain.
The following figure explains the topology and sample configurations for the VRF Aware IPv6 Rapid Deployment Tunnel feature where both the IPv4 addresses and IPv6 addresses are in VRF.
How to Configure the VRF-Aware IPv6 Rapid Deployment Tunnel
Complete the steps in the following procedure to configure the VRF-Aware IPv6 Rapid Deployment Tunnel feature when both the IPv6 and IPv4 addresses are in VRF. You should perform these steps on the CE router and BR router unless specifically mentioned otherwise in the following procedure.
Configuring the VRF-Aware IPv6 Rapid Deployment Tunnel
1.
enable
2.
configure terminal
3.
ipv6 unicast-routing
4.
vrf definition vrf-name1
5. rd {ASN:nn | IP address: nn}
6. route-target [import | export | both] {ASN:nn |IP address: nn}
7.
address-family ipv6
8.
exit
9.
address-family ipv4
10.
exit
11.
exit
12.
vrf definition vrf-name2
13. rd {ASN:nn | IP address: nn}
14. route-target [import | export | both] { ASN:nn | IP address: nn}
15.
address-family ipv4
16.
exit
17.
exit
18.
interface gigabitethernet slot / port
19.
vrf forwarding vrf-name1
20.
ipv6 address {ipv6-address prefix-length prefix-name sub-bits prefix-length}
21.
exit
22.
interface gigabitethernet slot / port
23.
vrf forwarding vrf-name2
24.
ip address ip-address mask
25.
exit
26.
interface loopback interface-number
27.
vrf forwarding vrf-name2
28.
ip address ip-address
29.
exit
30.
interface tunnel tunnel-number
31.
vrf forwarding vrf-name1
32.
ipv6 address {ipv6-address prefix-length prefix-name sub-bits prefix-length}
33.
tunnel source{ ip-address| interface-type interface-number}
34.
tunnel mode ipv6ip [ 6rd| 6to4 | auto-tunnel | isatap]
35.
tunnel 6rd ipv4 {prefix-length length} {suffix-length length}
36.
tunnel 6rd prefix{ipv6-prefix/ prefix-length}
37.
tunnel 6rd br ipv4-address
38.
tunnel vrf vrf-name2
39.
exit
40.
ipv6 route vrf vrf-name1 {ipv6-prefix / prefix-length} tunnel tunnel-number
41.
ipv6 route vrf vrf-name1{ipv6-prefix/ prefix-length} tunnel tunnel-number ipv6-address
42.
end
DETAILED STEPS
Example: Configuring VRF- Aware IPv6 Rapid Deployment Tunnel
The following example shows how to configure the VRF-Aware IPv6 Rapid Deployment Tunnel on a CE router:
Router# enable Router# configure terminal Router(config)# ipv6 unicast-routing Router(config)# mls ipv6 vrf Router(config)# vrf definition VRF_RED Router(config-vrf)# rd 1:1 Router(config-vrf)# route-target export 1:1 Router(config-vrf)# route-target import 1:1 Router(config-vrf)# address-family ipv6 Router(config-vrf-af)# exit Router(config-vrf)# address-family ipv4 Router(config-vrf-af)# exit Router(config-vrf)# exit Router(config)# vrf definition VRF_GREEN Router(config-vrf)# rd 1:1 Router(config-vrf)# route-target export 1:1 Router(config-vrf)# route-target import 1:1 Router(config-vrf)# address-family ipv4 Router(config-vrf-af)# exit Router(config-vrf)# exit Router(config)# interface gigabitethernet 3/1 Router(config-if)# vrf forwarding VRF_RED Router(config-if)# ipv6 address 1::2/64 Router(config-if)# exit Router(config)# interface gigabitethernet 4/5 Router(config-if)# vrf forwarding VRF_GREEN Router(config-if)# ip address 17.1.1.1 255.255.255.0 Router(config-if)# ip ospf 2 area 0 Router(config-if)# exit Router(config)# interface Loopback 100 Router(config-if)# vrf forwarding VRF_GREEN Router(config-if)# ip address 60.1.1.1 255.255.255.0 Router(config-if)# ip ospf 2 area 0 Router(config-if)# exit Router(config)# interface tunnel 10 Router(config-if)# vrf forwarding VRF_RED Router(config-if)# ipv6 address 2001:A000:100::1/128 Router(config-if)# mls 6rd reserve interface GigabitEthernet4/5 Router(config-if)# tunnel source loopback 100 Router(config-if)# tunnel mode ipv6ip 6rd Router(config-if)# tunnel 6rd ipv4 prefix-len 16 suffix-len 8 Router(config-if)# tunnel 6rd prefix 2001:A000::/32 Router(config-if)# tunnel 6rd br 60.1.2.1 Router(config-if)# tunnel vrf VRF_GREEN Router(config-if)# exit Router(config)# ipv6 route vrf VRF_RED 2001:A000::/32 Tunnel10 Router(config)# ipv6 route vrf VRF_RED 9000:1000::/64 Tunnel10 2001:A000:200::1 Router(config)# end
The following example shows how to configure the VRF-Aware IPv6 Rapid Deployment Tunnel on a BR router:
Router# enable Router# configure terminal Router(config)# ipv6 unicast-routing Router(config)# vrf definition VRF_RED Router(config-vrf)# rd 1:1 Router(config-vrf)# route-target export 1:1 Router(config-vrf)# route-target import 1:1 Router(config-vrf)# address-family ipv6 Router(config-vrf-af)# exit Router(config-vrf)# address-family ipv4 Router(config-vrf-af)# exit Router(config-vrf)# exit Router(config)# vrf definition VRF_GREEN Router(config-vrf)# rd 1:1 Router(config-vrf)# route-target export 1:1 Router(config-vrf)# route-target import 1:1 Router(config-vrf)# address-family ipv4 Router(config-vrf-af)# exit Router(config-vrf)# exit Router(config)# interface gigabitethernet 5/1 Router(config-if)# vrf forwarding VRF_RED Router(config-if)# ipv6 address 9000:1000::/64 Router(config-if)# exit Router(config)# interface gigabitethernet 4/1 Router(config-if)# vrf forwarding VRF_GREEN Router(config-if)# ip address 17.1.1.2 255.255.255.0 Router(config-if)# ip ospf 2 area 0 Router(config-if)# exit Router(config)# interface Loopback 100 Router(config-if)# vrf forwarding VRF_GREEN Router(config-if)# ip address 60.1.2.1 255.255.255.0 Router(config-if)# exit Router(config)# interface tunnel 10 Router(config-if)# vrf forwarding VRF_RED Router(config-if)# ipv6 address 2001:A000:100::1/128 Router(config-if)# tunnel source loopback 100 Router(config-if)# tunnel mode ipv6ip 6rd Router(config-if)# tunnel 6rd ipv4 prefix-len 16 suffix-len 8 Router(config-if)# tunnel 6rd prefix 2001:A000::/32 Router(config-if)# tunnel vrf VRF_GREEN Router(config-if)# exit Router(config)# ipv6 route vrf VRF_RED 2001:A000::/32 Tunnel10 Router(config)# end
Additional References
Related Documents
Related Topic |
Document Title |
---|---|
IPv6 addressing and connectivity |
|
Cisco IOS commands |
|
IPv6 commands |
|
Cisco IOS IPv6 features |
Standards and RFCs
Standard/RFC |
Title |
---|---|
RFCs for IPv6 |
Technical Assistance
Description |
Link |
---|---|
The Cisco Support and Documentation website provides online resources to download documentation, software, and tools. Use these resources to install and configure the software and to troubleshoot and resolve technical issues with Cisco products and technologies. Access to most tools on the Cisco Support and Documentation website requires a Cisco.com user ID and password. |
Feature Information for the VRF-Aware IPv6 Rapid Deployment Tunnel
The following table provides release information about the feature or features described in this module. This table lists only the software release that introduced support for a given feature in a given software release train. Unless noted otherwise, subsequent releases of that software release train also support that feature.
Use Cisco Feature Navigator to find information about platform support and Cisco software image support. An account on Cisco.com is not required.
Feature Name |
Releases |
Feature Information |
---|---|---|
VRF-Aware IPv6 Rapid Deployment Tunnel |
Cisco IOS XE Release 3.10S |
The IPv6 Rapid Deployment Tunnel feature allows a service provider to provide a unicast IPv6 service to customers over its IPv4 network by using encapsulation of IPv6 in IPv4. The VRF-Aware IPv6 Rapid Deployment Tunnel feature extends VRF awareness to IPv6 rapid deployment tunnels. |