MPLS 6VPE Introduction and IPv6 VPN Configuration
Table of Contents
Jump to section:
- • What is MPLS 6VPE?
- • How to configure MPLS 6VPE?
- • Option 1) Configuring eBGP IPv6 between PE - CE
- • Option 2) Configuring EIGRP IPv6 between PE - CE
- • Option 3) Configuring OSPFv3 between PE - CE
- • Option 4) Configuring RIPng between PE - CE
- • Information attached to BGP VPNv6 routes by different PE - CE routing protocols
- • Download section
- What is MPLS 6VPE? ‹
- How to configure MPLS 6VPE? ‹
- Option 1) Configuring eBGP IPv6 between PE - CE ‹
- Option 2) Configuring EIGRP IPv6 between PE - CE ‹
- Option 3) Configuring OSPFv3 between PE - CE ‹
- Option 4) Configuring RIPng between PE - CE ‹
- Information attached to BGP VPNv6 routes by different PE - CE routing protocols ‹
- Download section ‹
What is MPLS 6VPE?
MPLS 6VPE enables connecting IPv6-only sites over an IPv4 MPLS-enabled core network. MPLS 6VPE leverages the existing infrastructure to tunnel IPv6 traffic with label switching. As a result, Service Providers can use their IPv4 MPLS core networks to provide IPv6 services.
6VPE offers MPLS L3VPN services such as multitenancy through VPN/VRF tables in order to enable independent IPv6 routing domains. Thus, MPLS 6VPE can transport overlapping IPv6 addresses virtually separated for each subscriber while using the same shared infrastructure. The following image provides a summary of MPLS 6VPE.
The technology is made possible with the MPLS label stack that ensures connectivity for each virtual network (IPv4 or IPv6) by assigning a unique VPN Service Label. The VPN Service Label is assigned by the PE routers. The following capture shows a BGP VPNv6 Update sent from a Route Reflector to a PE router, and carrying an IPv6 prefix together with the VPN Service Label 609.
How to configure MPLS 6VPE?
The following are important elements that make an MPLS 6VPE network function.
- MPLS core transport network is configured with IPv4 IGP OSPF or IS-IS. Routers in the provider core (not PE and not RR) have only IPv4 enabled, and will forward IPv6 packets with label switching only.
- Between PE and CE the access network is configured with IPv6. The chosen PE - CE routing protocol such as eBGP, EIGRP, OSPF needs to be configured in IPv6 over a VRF.
- On the PE routers the MP-BGP adjacencies are configured in the address-family IPv6 towards the CE, and VPNv6 towards the BGP Route Reflector. The PE routers are dual stack IPv4 and IPv6. On the CE-facing VRF-aware sub-interface the PE router has an IPv6 address. On the MPLS core-facing interface the PE router has an IPv4 address.
Option 1) Configuring eBGP IPv6 between PE - CE
In the following example scenario, Site 1 and Site 2 are configured with IPv6 and connected through the VRF called "VRF-BLUE" using the IPv4 MPLS Layer-3 VPN (L3VPN) Service Provider network. This means a virtually unique routing table is created within VRF-BLUE, and the site specific IPv6 prefixes are transported in that VRF. The PE - CE routing protocol is eBGP, and between the PE - RR there is a BGP VPNv6 neighborship configured.
Route Target import/export rules configured on the PE routers ensure that the IPv6 prefixes are received. The PE routers are dual stack IPv4/IPv6. The command ipv6 unicast-routing is issued in global configuration mode on each router that runs BGP IPv6 or VPNv6.
Each label switch router (LSR) has the command mpls ip added in global configuration mode, and the MPLS label range is also specified to help understand the traffic flow and illustrate the technology. This means, R1 assigns labels in the range 100 - 199, R2 uses 200 - 299, etc.
Configuration:
R1
R1#show run int Gi0/0 | sec int interface GigabitEthernet0/0 description ** to PE R5 ** ip address 10.3.0.2 255.255.255.252 ip ospf network point-to-point duplex auto speed auto media-type rj45 R1#show run int Gi0/1 | sec int interface GigabitEthernet0/1 description ** to R2 ** ip address 10.1.0.1 255.255.255.252 ip ospf network point-to-point duplex auto speed auto media-type rj45 R1#show run int Lo10 | sec int interface Loopback10 ip address 1.1.1.1 255.255.255.255 R1#show run | sec ^router router ospf 10 mpls ldp autoconfig area 0 router-id 1.1.1.1 network 1.1.1.1 0.0.0.0 area 0 network 10.1.0.0 0.0.0.3 area 0 network 10.3.0.0 0.0.0.3 area 0 R1#show run | sec ^mpls mpls label range 100 199
R2
R2#show run int Gi0/0 | sec int interface GigabitEthernet0/0 description ** to R1 ** ip address 10.1.0.2 255.255.255.252 ip ospf network point-to-point duplex auto speed auto media-type rj45 mpls ip R2#show run int Gi0/1 | sec int interface GigabitEthernet0/1 description ** to R3 ** ip address 10.2.0.1 255.255.255.252 ip ospf network point-to-point duplex auto speed auto media-type rj45 mpls ip R2#show run int Gi0/2 | sec int interface GigabitEthernet0/2 description ** to RR R4 ** ip address 10.4.0.1 255.255.255.252 ip ospf network point-to-point duplex auto speed auto media-type rj45 R2#show run int Lo10 | sec int interface Loopback10 ip address 2.2.2.2 255.255.255.255 R2#show run | sec ^router router ospf 10 router-id 2.2.2.2 network 2.2.2.2 0.0.0.0 area 0 network 10.1.0.0 0.0.0.3 area 0 network 10.2.0.0 0.0.0.3 area 0 network 10.4.0.0 0.0.0.3 area 0 R2#show run | sec ^mpls mpls label range 200 299
R4 (RR)
R4#show run | sec ^ipv6 uni ipv6 unicast-routing R4#show run int Gi0/0 | sec int interface GigabitEthernet0/0 description ** to R2 ** ip address 10.4.0.2 255.255.255.252 ip ospf network point-to-point duplex auto speed auto media-type rj45 R4#show run int Lo10 | sec int interface Loopback10 ip address 4.4.4.4 255.255.255.255 R4#show run | sec ^router router ospf 10 router-id 4.4.4.4 network 4.4.4.4 0.0.0.0 area 0 network 10.4.0.0 0.0.0.3 area 0 router bgp 65010 bgp router-id 4.4.4.4 bgp log-neighbor-changes neighbor 5.5.5.5 remote-as 65010 neighbor 5.5.5.5 update-source Loopback10 neighbor 6.6.6.6 remote-as 65010 neighbor 6.6.6.6 update-source Loopback10 ! address-family ipv4 neighbor 5.5.5.5 activate neighbor 5.5.5.5 send-community extended neighbor 5.5.5.5 route-reflector-client neighbor 6.6.6.6 activate neighbor 6.6.6.6 send-community extended neighbor 6.6.6.6 route-reflector-client exit-address-family ! address-family vpnv6 neighbor 5.5.5.5 activate neighbor 5.5.5.5 send-community extended neighbor 5.5.5.5 route-reflector-client neighbor 6.6.6.6 activate neighbor 6.6.6.6 send-community extended neighbor 6.6.6.6 route-reflector-client exit-address-family
R5 (PE)
R5#show run | sec ^ipv6 uni ipv6 unicast-routing R5#show run int Gi0/0 | sec int interface GigabitEthernet0/0 description ** to CE R7 ** no ip address duplex auto speed auto media-type rj45 R5#show run int Gi0/0.10 | sec int interface GigabitEthernet0/0.10 description ** to CE R7 in VRF-BLUE ** encapsulation dot1Q 10 vrf forwarding VRF-BLUE ipv6 address FE80::1 link-local ipv6 address 2001:DB8:1::1/64 R5#show run int Gi0/1 | sec int interface GigabitEthernet0/1 description ** to R1 ** ip address 10.3.0.1 255.255.255.252 ip ospf network point-to-point duplex auto speed auto media-type rj45 R5#show run int Lo10 | sec int interface Loopback10 ip address 5.5.5.5 255.255.255.255 R5#show run | sec ^router router ospf 10 mpls ldp autoconfig area 0 router-id 5.5.5.5 network 5.5.5.5 0.0.0.0 area 0 network 10.3.0.0 0.0.0.3 area 0 router bgp 65010 bgp router-id 5.5.5.5 bgp log-neighbor-changes neighbor 4.4.4.4 remote-as 65010 neighbor 4.4.4.4 update-source Loopback10 ! address-family vpnv6 neighbor 4.4.4.4 activate neighbor 4.4.4.4 send-community extended exit-address-family ! address-family ipv6 vrf VRF-BLUE neighbor 2001:DB8:1::2 remote-as 65001 neighbor 2001:DB8:1::2 activate exit-address-family R5#show run | sec ^vrf vrf definition VRF-BLUE rd 65010:1 ! address-family ipv6 route-target export 65010:1 route-target import 65010:2 exit-address-family R5#show run | sec ^mpls mpls label range 500 599
R6 (PE)
R6#show run | sec ^ipv6 uni ipv6 unicast-routing R6#show run int Gi0/0 | sec int interface GigabitEthernet0/0 description ** to CE R8 ** no ip address duplex auto speed auto media-type rj45 R6#show run int Gi0/0.10 | sec int interface GigabitEthernet0/0.10 description ** to CE R8 in VRF-BLUE ** encapsulation dot1Q 10 vrf forwarding VRF-BLUE ipv6 address FE80::1 link-local ipv6 address 2001:DB8:2::1/64 R6#show run int Gi0/1 | sec int interface GigabitEthernet0/1 description ** to R1 ** ip address 10.5.0.1 255.255.255.252 ip ospf network point-to-point duplex auto speed auto media-type rj45 R6#show run int Lo10 | sec int interface Loopback10 ip address 6.6.6.6 255.255.255.255 R6#show run | sec ^router router ospf 10 mpls ldp autoconfig area 0 router-id 6.6.6.6 network 6.6.6.6 0.0.0.0 area 0 network 10.5.0.0 0.0.0.3 area 0 router bgp 65010 bgp router-id 6.6.6.6 bgp log-neighbor-changes neighbor 4.4.4.4 remote-as 65010 neighbor 4.4.4.4 update-source Loopback10 ! address-family vpnv6 neighbor 4.4.4.4 activate neighbor 4.4.4.4 send-community extended exit-address-family ! address-family ipv6 vrf VRF-BLUE neighbor 2001:DB8:2::2 remote-as 65002 neighbor 2001:DB8:2::2 activate exit-address-family R6#show run | sec ^vrf vrf definition VRF-BLUE rd 65010:2 ! address-family ipv6 route-target export 65010:2 route-target import 65010:1 exit-address-family R6#show run | sec ^mpls mpls label range 600 699
R7 (CE)
R7#show run | sec ^ipv6 uni ipv6 unicast-routing R7#show run int Gi0/0 | sec int interface GigabitEthernet0/0 description ** to Host1 ** no ip address duplex auto speed auto media-type rj45 R7#show run int Gi0/0.10 | sec int interface GigabitEthernet0/0.10 description ** to Host1 in VRF-BLUE ** encapsulation dot1Q 10 vrf forwarding VRF-BLUE ipv6 address FE80::2 link-local ipv6 address 2001:DB8:A::2/64 R7#show run int Gi0/1 | sec int interface GigabitEthernet0/1 description ** to PE R5 ** no ip address duplex auto speed auto media-type rj45 R7#show run int Gi0/1.10 | sec int interface GigabitEthernet0/1.10 description ** to PE R5 in VRF-BLUE ** encapsulation dot1Q 10 vrf forwarding VRF-BLUE ipv6 address FE80::2 link-local ipv6 address 2001:DB8:1::2/64 R7#show run | sec ^router router bgp 65001 bgp router-id 7.7.7.7 bgp log-neighbor-changes ! address-family ipv6 vrf VRF-BLUE network 2001:DB8:A::/64 neighbor 2001:DB8:1::1 remote-as 65010 neighbor 2001:DB8:1::1 activate exit-address-family R7#show run | sec ^vrf vrf definition VRF-BLUE rd 1:1 ! address-family ipv6 exit-address-family
R8 (CE)
R8#show run | sec ^ipv6 uni ipv6 unicast-routing R8#show run int Gi0/0 | sec int interface GigabitEthernet0/0 description ** to Host2 ** no ip address duplex auto speed auto media-type rj45 R8#show run int Gi0/0.10 | sec int interface GigabitEthernet0/0.10 description ** to Host2 in VRF-BLUE ** encapsulation dot1Q 10 vrf forwarding VRF-BLUE ipv6 address FE80::2 link-local ipv6 address 2001:DB8:B::2/64 R8#show run int Gi0/1 | sec int interface GigabitEthernet0/1 description ** to PE R6 ** no ip address duplex auto speed auto media-type rj45 R8#show run int Gi0/1.10 | sec int interface GigabitEthernet0/1.10 description ** to PE R6 in VRF-BLUE ** encapsulation dot1Q 10 vrf forwarding VRF-BLUE ipv6 address FE80::2 link-local ipv6 address 2001:DB8:2::2/64 R8#show run | sec ^router router bgp 65002 bgp router-id 8.8.8.8 bgp log-neighbor-changes ! address-family ipv6 vrf VRF-BLUE network 2001:DB8:B::/64 neighbor 2001:DB8:2::1 remote-as 65010 neighbor 2001:DB8:2::1 activate exit-address-family R8#show run | sec ^vrf vrf definition VRF-BLUE rd 1:1 ! address-family ipv6 exit-address-family
Host1
Host1#show run int Gi0/0 | sec int interface GigabitEthernet0/0 description ** to CE R7 ** no ip address duplex auto speed auto media-type rj45 Host1#show run int Gi0/0.10 | sec int interface GigabitEthernet0/0.10 description ** to CE R7 in VLAN 10 ** encapsulation dot1Q 10 ipv6 address FE80::1 link-local ipv6 address 2001:DB8:A::1/64 Host1#show run | sec ^ipv6 route ipv6 route ::/0 GigabitEthernet0/0.10 2001:DB8:A::2
Host1#trace 2001:DB8:B::1 Type escape sequence to abort. Tracing the route to 2001:DB8:B::1 1 2001:DB8:A::2 1 msec 1 msec 1 msec 2 2001:DB8:1::1 22 msec 24 msec 23 msec 3 ::FFFF:10.3.0.2 [MPLS: Labels 103/609 Exp 0] 47 msec 48 msec 49 msec « VPN Service Label assigned by PE R6 4 ::FFFF:10.1.0.2 [MPLS: Labels 203/609 Exp 0] 47 msec 48 msec 47 msec 5 ::FFFF:10.2.0.2 [MPLS: Labels 303/609 Exp 0] 48 msec 48 msec 47 msec 6 2001:DB8:2::1 [MPLS: Label 609 Exp 0] 27 msec 27 msec 27 msec 7 2001:DB8:2::2 47 msec 47 msec 48 msec 8 2001:DB8:B::1 49 msec 49 msec 49 msec Host2#trace 2001:DB8:A::1 Type escape sequence to abort. Tracing the route to 2001:DB8:A::1 1 2001:DB8:B::2 2 msec 2 msec 2 msec 2 2001:DB8:2::1 23 msec 24 msec 23 msec 3 ::FFFF:10.5.0.2 [MPLS: Labels 302/509 Exp 0] 48 msec 48 msec 49 msec 4 ::FFFF:10.2.0.1 [MPLS: Labels 202/509 Exp 0] 47 msec 47 msec 47 msec 5 ::FFFF:10.1.0.1 [MPLS: Labels 102/509 Exp 0] 48 msec 48 msec 49 msec 6 2001:DB8:1::1 [MPLS: Label 509 Exp 0] 26 msec 26 msec 26 msec 7 2001:DB8:1::2 48 msec 48 msec 48 msec 8 2001:DB8:A::1 49 msec 50 msec 48 msec R7#show ip bgp vpnv6 unicast vrf VRF-BLUE summary | beg Ne Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd 2001:DB8:1::1 4 65010 108 109 3 0 0 01:35:22 1 « eBGP neigbborship CE R7 and PE R5 R7#show ip bgp vpnv6 unicast vrf VRF-BLUE | begin Network Network Next Hop Metric LocPrf Weight Path Route Distinguisher: 1:1 (default for vrf VRF-BLUE) *> 2001:DB8:A::/64 :: 0 32768 i *> 2001:DB8:B::/64 2001:DB8:1::1 0 65010 65002 i « CE R7 receives Site 2 IPv6 route R5#show ip bgp vpnv6 unicast all | beg Network Network Next Hop Metric LocPrf Weight Path Route Distinguisher: 65010:1 (default for vrf VRF-BLUE) *> 2001:DB8:A::/64 2001:DB8:1::2 0 0 65001 i *>i 2001:DB8:B::/64 ::FFFF:6.6.6.6 0 100 0 65002 i Route Distinguisher: 65010:2 *>i 2001:DB8:B::/64 ::FFFF:6.6.6.6 0 100 0 65002 i « PE R5 receives Site 2 IPv6 route R5#show ip bgp vpnv6 unicast rd 65010:2 2001:DB8:B::/64 BGP routing table entry for [65010:2]2001:DB8:B::/64, version 3 Paths: (1 available, best #1, no table) Flag: 0x100 Not advertised to any peer Refresh Epoch 1 65002 ::FFFF:6.6.6.6 (metric 5) (via default) from 4.4.4.4 (4.4.4.4) « The RR advertises Site 2 route Origin IGP, metric 0, localpref 100, valid, internal, best Extended Community: RT:65010:2 « The Route Target value exported and attached on PE R6 Originator: 6.6.6.6, Cluster list: 4.4.4.4 mpls labels in/out nolabel/609 « VPN Service Label assigned by PE R6 rx pathid: 0, tx pathid: 0x0
In the above router outputs, the IPv6 address of PE R6 is ::FFFF:6.6.6.6 and it is created by mapping IPv4 onto an IPv6 address. This is done by the PE routers to enable carrying IPv6 prefixes across the IPv4 MPLS core network. This type of address notation is outlined in the RFC 4291 and the following quote provides further details.
An alternative form that is sometimes more convenient when dealing with a mixed environment of IPv4 and IPv6 nodes is x:x:x:x:x:x:d.d.d.d, where the 'x's are the hexadecimal values of the six high-order 16-bit pieces of the address, and the 'd's are the decimal values of the four low-order 8-bit pieces of the address (standard IPv4 representation).
RFC 4291, IP Version 6 Addressing Architecture
Option 2) Configuring EIGRP IPv6 between PE - CE
In the following example topology a L3VPN MPLS 6VPE network is configured and connects two IPv6 sites using a single VRF called "VRF-BLUE". The PE - CE routing protocol is EIGRP IPv6. This means, on the PE routers BGP VPNv6 and EIGRP IPv6 redistribute routes in both directions. IPv6 routes learned through EIGRP in VRF-BLUE are redisributed and advertised as BGP VPNv6 prefixes in the MPLS network.
Configuration:
R5 (PE)
R5#show run int Gi0/0 | sec int interface GigabitEthernet0/0 description ** to CE R7 ** no ip address duplex auto speed auto media-type rj45 R5#show run int Gi0/0.10 | sec int interface GigabitEthernet0/0.10 description ** to CE R7 in VRF-BLUE ** encapsulation dot1Q 10 vrf forwarding VRF-BLUE ipv6 address FE80::1 link-local ipv6 address 2001:DB8:1::1/64 R5#show run int Gi0/1 | sec int interface GigabitEthernet0/1 description ** to R1 ** ip address 10.3.0.1 255.255.255.252 ip ospf network point-to-point duplex auto speed auto media-type rj45 R5#show run int Lo10 | sec int interface Loopback10 ip address 5.5.5.5 255.255.255.255 R5#show run | sec ^router router eigrp EIGRP-IPv6 ! address-family ipv6 unicast vrf VRF-BLUE autonomous-system 10 ! topology base redistribute bgp 65010 metric 1000 10 255 1 1500 exit-af-topology eigrp router-id 5.5.5.5 exit-address-family router ospf 10 mpls ldp autoconfig area 0 router-id 5.5.5.5 network 5.5.5.5 0.0.0.0 area 0 network 10.3.0.0 0.0.0.3 area 0 router bgp 65010 bgp router-id 5.5.5.5 bgp log-neighbor-changes neighbor 4.4.4.4 remote-as 65010 neighbor 4.4.4.4 update-source Loopback10 ! address-family vpnv6 neighbor 4.4.4.4 activate neighbor 4.4.4.4 send-community extended exit-address-family ! address-family ipv6 vrf VRF-BLUE redistribute eigrp 10 exit-address-family R5#show run | sec ^vrf vrf definition VRF-BLUE rd 65010:1 ! address-family ipv6 route-target export 65010:1 route-target import 65010:2 exit-address-family R5#show run | sec ^mpls mpls label range 500 599
R6 (PE)
R6#show run int Gi0/0 | sec int interface GigabitEthernet0/0 description ** to CE R8 ** no ip address duplex auto speed auto media-type rj45 R6#show run int Gi0/0.10 | sec int interface GigabitEthernet0/0.10 description ** to CE R8 in VRF-BLUE ** encapsulation dot1Q 10 vrf forwarding VRF-BLUE ipv6 address FE80::1 link-local ipv6 address 2001:DB8:2::1/64 R6#show run int Gi0/1 | sec int interface GigabitEthernet0/1 description ** to R1 ** ip address 10.5.0.1 255.255.255.252 ip ospf network point-to-point duplex auto speed auto media-type rj45 R6#show run int Lo10 | sec int interface Loopback10 ip address 6.6.6.6 255.255.255.255 R6#show run | sec ^router router eigrp EIGRP-IPv6 ! address-family ipv6 unicast vrf VRF-BLUE autonomous-system 10 ! topology base redistribute bgp 65010 metric 1000 10 255 1 1500 exit-af-topology eigrp router-id 6.6.6.6 exit-address-family router ospf 10 mpls ldp autoconfig area 0 router-id 6.6.6.6 network 6.6.6.6 0.0.0.0 area 0 network 10.5.0.0 0.0.0.3 area 0 router bgp 65010 bgp router-id 6.6.6.6 bgp log-neighbor-changes neighbor 4.4.4.4 remote-as 65010 neighbor 4.4.4.4 update-source Loopback10 ! address-family vpnv6 neighbor 4.4.4.4 activate neighbor 4.4.4.4 send-community extended exit-address-family ! address-family ipv6 vrf VRF-BLUE redistribute eigrp 10 exit-address-family R6#show run | sec ^vrf vrf definition VRF-BLUE rd 65010:2 ! address-family ipv6 route-target export 65010:2 route-target import 65010:1 exit-address-family R6#show run | sec ^mpls mpls label range 600 699
R7 (CE)
R7#show run int Gi0/0 | sec int interface GigabitEthernet0/0 description ** to Host1 ** no ip address duplex auto speed auto media-type rj45 R7#show run int Gi0/0.10 | sec int interface GigabitEthernet0/0.10 description ** to Host1 in VRF-BLUE ** encapsulation dot1Q 10 vrf forwarding VRF-BLUE ipv6 address FE80::2 link-local ipv6 address 2001:DB8:A::2/64 R7#show run int Gi0/1 | sec int interface GigabitEthernet0/1 description ** to PE R5 ** no ip address duplex auto speed auto media-type rj45 R7#show run int Gi0/1.10 | sec int interface GigabitEthernet0/1.10 description ** to PE R5 in VRF-BLUE ** encapsulation dot1Q 10 vrf forwarding VRF-BLUE ipv6 address FE80::2 link-local ipv6 address 2001:DB8:1::2/64 R7#show run | sec ^router router eigrp EIGRP-IPv6 ! address-family ipv6 unicast vrf VRF-BLUE autonomous-system 10 ! topology base exit-af-topology eigrp router-id 7.7.7.7 exit-address-family R7#show run | sec ^vrf vrf definition VRF-BLUE rd 1:1 ! address-family ipv6 exit-address-family
R8 (CE)
R8#show run int Gi0/0 | sec int interface GigabitEthernet0/0 description ** to Host2 ** no ip address duplex auto speed auto media-type rj45 R8#show run int Gi0/0.10 | sec int interface GigabitEthernet0/0.10 description ** to Host2 in VRF-BLUE ** encapsulation dot1Q 10 vrf forwarding VRF-BLUE ipv6 address FE80::2 link-local ipv6 address 2001:DB8:B::2/64 R8#show run int Gi0/1 | sec int interface GigabitEthernet0/1 description ** to PE R6 ** no ip address duplex auto speed auto media-type rj45 R8#show run int Gi0/1.10 | sec int interface GigabitEthernet0/1.10 description ** to PE R6 in VRF-BLUE ** encapsulation dot1Q 10 vrf forwarding VRF-BLUE ipv6 address FE80::2 link-local ipv6 address 2001:DB8:2::2/64 R8#show run | sec ^router router eigrp EIGRP-IPv6 ! address-family ipv6 unicast vrf VRF-BLUE autonomous-system 10 ! topology base exit-af-topology eigrp router-id 8.8.8.8 exit-address-family R8#show run | sec ^vrf vrf definition VRF-BLUE rd 1:1 ! address-family ipv6 exit-address-family
Host1#trace 2001:DB8:B::1 Type escape sequence to abort. Tracing the route to 2001:DB8:B::1 1 2001:DB8:A::2 3 msec 1 msec 1 msec 2 2001:DB8:1::1 24 msec 24 msec 23 msec 3 ::FFFF:10.3.0.2 [MPLS: Labels 103/609 Exp 0] 49 msec 48 msec 48 msec « MPLS VPN Service Labael attached by PE R6 4 ::FFFF:10.1.0.2 [MPLS: Labels 203/609 Exp 0] 49 msec 47 msec 49 msec 5 ::FFFF:10.2.0.2 [MPLS: Labels 303/609 Exp 0] 49 msec 48 msec 48 msec 6 2001:DB8:2::1 [MPLS: Label 609 Exp 0] 26 msec 27 msec 25 msec 7 2001:DB8:2::2 48 msec 48 msec 47 msec 8 2001:DB8:B::1 49 msec 51 msec 56 msec R7#show eigrp address-family ipv6 vrf VRF-BLUE neighbors EIGRP-IPv6 VR(EIGRP-IPv6) Address-Family Neighbors for AS(10) VRF() H Address Interface Hold Uptime SRTT RTO Q Seq (sec) (ms) Cnt Num 0 Link-local address: Gi0/1.10 14 00:23:28 168 1008 0 4 « EIGRP IPv6 neighborship between PE - CE FE80::1 R7#show eigrp address-family ipv6 vrf VRF-BLUE topology EIGRP-IPv6 VR(EIGRP-IPv6) Topology Table for AS(10)/ID(7.7.7.7) Topology(base) TID(0) VRF(VRF-BLUE) Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply, r - reply Status, s - sia Status P 2001:DB8:A::/64, 1 successors, FD is 1310720 via Connected, GigabitEthernet0/0.10 P 2001:DB8:B::/64, 1 successors, FD is 2621440 « CE R7 receives EIGRP IPv6 prefix from PE R5 via FE80::1 (2621440/1966080), GigabitEthernet0/1.10 P 2001:DB8:1::/64, 1 successors, FD is 1310720 via Connected, GigabitEthernet0/1.10 R7#show ipv6 route vrf VRF-BLUE eigrp IPv6 Routing Table - VRF-BLUE - 6 entries Codes: C - Connected, L - Local, S - Static, U - Per-user Static route B - BGP, HA - Home Agent, MR - Mobile Router, R - RIP H - NHRP, I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea IS - ISIS summary, D - EIGRP, EX - EIGRP external, NM - NEMO ND - ND Default, NDp - ND Prefix, DCE - Destination, NDr - Redirect RL - RPL, O - OSPF Intra, OI - OSPF Inter, OE1 - OSPF ext 1 OE2 - OSPF ext 2, ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2 la - LISP alt, lr - LISP site-registrations, ld - LISP dyn-eid lA - LISP away, a - Application D 2001:DB8:B::/64 [90/20480] « EIGRP IPv6 prefix installed in RIB of CE R7 as internal route via FE80::1, GigabitEthernet0/1.10 R7#show ipv6 route vrf VRF-BLUE 2001:DB8:B::/64 Routing entry for 2001:DB8:B::/64 Known via "eigrp 10", distance 90, metric 20480, type internal Route count is 1/1, share count 0 Routing paths: FE80::1, GigabitEthernet0/1.10 From FE80::1 Last updated 00:25:55 ago R5#show eigrp address-family ipv6 vrf VRF-BLUE topology 2001:DB8:B::/64 EIGRP-IPv6 VR(EIGRP-IPv6) Topology Entry for AS(10)/ID(5.5.5.5) Topology(base) TID(0) VRF(VRF-BLUE) EIGRP-IPv6(10): Topology base(0) entry for 2001:DB8:B::/64 State is Passive, Query origin flag is 1, 1 Successor(s), FD is 0 Descriptor Blocks: ::FFFF:6.6.6.6, from VPNv6 Sourced, Send flag is 0x0 « On PE R5 EIGRP route redistributed from BGP VPNv6 Composite metric is (0/0), route is Internal (VPNv6 Sourced) Vector metric: Minimum bandwidth is 1000000 Kbit Total delay is 20000000 picoseconds Reliability is 255/255 Load is 1/255 Minimum MTU is 1500 Hop count is 1 Originating router is 8.8.8.8 R5#show ip bgp vpnv6 unicast rd 65010:2 2001:DB8:B::/64 BGP routing table entry for [65010:2]2001:DB8:B::/64, version 3 Paths: (1 available, best #1, no table) Not advertised to any peer Refresh Epoch 1 Local ::FFFF:6.6.6.6 (metric 5) (via default) from 4.4.4.4 (4.4.4.4) Origin incomplete, metric 15360, localpref 100, valid, internal, best Extended Community: RT:65010:2 Cost:pre-bestpath:128:15360 « Route Target value attached by PE R6 0x8800:32768:0 0x8801:10:512 0x8802:65281:2560 0x8803:65281:1500 0x8806:0:134744072 0x8807:45:822149120 Originator: 6.6.6.6, Cluster list: 4.4.4.4 mpls labels in/out nolabel/609 rx pathid: 0, tx pathid: 0x0
Option 3) Configuring OSPFv3 between PE - CE
In the following scenario, MPLS 6VPE is configured with a single VRF connecting two IPv6 sites across an IPv4 MPLS network. The PE - CE routing protocol is OSPFv3. When configuring OSPF within a VRF and as the PE - CE routing protocol for a L3VPN network, it is important to add the command capability vrf-lite on the CE routers. This ensures functionality as a CE and proper handling of the DN bit when receiving routes from the PE.
OSPFv3 is also configured with a VRF on the PE routers, and redistribution happens between OSPFv3 and BGP on the PE routers which then advertise site specific IPv6 prefixes via BGP VPNv6 to the RR.
Configuration:
R5 (PE)
R5#show run int Gi0/0 | sec int interface GigabitEthernet0/0 description ** to CE R7 ** no ip address duplex auto speed auto media-type rj45 R5#show run int Gi0/0.10 | sec int interface GigabitEthernet0/0.10 description ** to CE R7 in VRF-BLUE ** encapsulation dot1Q 10 vrf forwarding VRF-BLUE ipv6 address FE80::1 link-local ipv6 address 2001:DB8:1::1/64 ospfv3 10 ipv6 area 0 ospfv3 10 ipv6 network point-to-point R5#show run int Gi0/1 | sec int interface GigabitEthernet0/1 description ** to R1 ** ip address 10.3.0.1 255.255.255.252 ip ospf network point-to-point duplex auto speed auto media-type rj45 R5#show run int Lo10 | sec int interface Loopback10 ip address 5.5.5.5 255.255.255.255 R5#show run | sec ^router router ospfv3 10 ! address-family ipv6 unicast vrf VRF-BLUE redistribute bgp 65010 router-id 5.5.5.5 exit-address-family router ospf 10 mpls ldp autoconfig area 0 router-id 5.5.5.5 network 5.5.5.5 0.0.0.0 area 0 network 10.3.0.0 0.0.0.3 area 0 router bgp 65010 bgp router-id 5.5.5.5 bgp log-neighbor-changes neighbor 4.4.4.4 remote-as 65010 neighbor 4.4.4.4 update-source Loopback10 ! address-family vpnv6 neighbor 4.4.4.4 activate neighbor 4.4.4.4 send-community extended exit-address-family ! address-family ipv6 vrf VRF-BLUE redistribute ospf 10 exit-address-family R5#show run | sec ^vrf vrf definition VRF-BLUE rd 65010:1 ! address-family ipv6 route-target export 65010:1 route-target import 65010:2 exit-address-family R5#show run | sec ^mpls mpls label range 500 599
R6 (PE)
R6#show run int Gi0/0 | sec int interface GigabitEthernet0/0 description ** to CE R8 ** no ip address duplex auto speed auto media-type rj45 R6#show run int Gi0/0.10 | sec int interface GigabitEthernet0/0.10 description ** to CE R8 in VRF-BLUE ** encapsulation dot1Q 10 vrf forwarding VRF-BLUE ipv6 address FE80::1 link-local ipv6 address 2001:DB8:2::1/64 ospfv3 10 ipv6 area 0 ospfv3 10 ipv6 network point-to-point R6#show run int Gi0/1 | sec int interface GigabitEthernet0/1 description ** to R1 ** ip address 10.5.0.1 255.255.255.252 ip ospf network point-to-point duplex auto speed auto media-type rj45 R6#show run | sec ^router router ospfv3 10 ! address-family ipv6 unicast vrf VRF-BLUE redistribute bgp 65010 router-id 6.6.6.6 exit-address-family router ospf 10 mpls ldp autoconfig area 0 router-id 6.6.6.6 network 6.6.6.6 0.0.0.0 area 0 network 10.5.0.0 0.0.0.3 area 0 router bgp 65010 bgp router-id 6.6.6.6 bgp log-neighbor-changes neighbor 4.4.4.4 remote-as 65010 neighbor 4.4.4.4 update-source Loopback10 ! address-family vpnv6 neighbor 4.4.4.4 activate neighbor 4.4.4.4 send-community extended exit-address-family ! address-family ipv6 vrf VRF-BLUE redistribute ospf 10 exit-address-family R6#show run | sec ^vrf vrf definition VRF-BLUE rd 65010:2 ! address-family ipv6 route-target export 65010:2 route-target import 65010:1 exit-address-family R6#show run | sec ^mpls mpls label range 600 699
R7 (CE)
R7#show run int Gi0/0 | sec int interface GigabitEthernet0/0 description ** to Host1 ** no ip address duplex auto speed auto media-type rj45 R7#show run int Gi0/0.10 | sec int interface GigabitEthernet0/0.10 description ** to Host1 in VRF-BLUE ** encapsulation dot1Q 10 vrf forwarding VRF-BLUE ipv6 address FE80::2 link-local ipv6 address 2001:DB8:A::2/64 ospfv3 10 ipv6 area 0 R7#show run int Gi0/1 | sec int interface GigabitEthernet0/1 description ** to PE R5 ** no ip address duplex auto speed auto media-type rj45 R7#show run int Gi0/1.10 | sec int interface GigabitEthernet0/1.10 description ** to PE R5 in VRF-BLUE ** encapsulation dot1Q 10 vrf forwarding VRF-BLUE ipv6 address FE80::2 link-local ipv6 address 2001:DB8:1::2/64 ospfv3 10 ipv6 area 0 ospfv3 10 ipv6 network point-to-point R7#show run | sec ^router router ospfv3 10 ! address-family ipv6 unicast vrf VRF-BLUE router-id 7.7.7.7 capability vrf-lite exit-address-family R7#show run | sec ^vrf vrf definition VRF-BLUE rd 1:1 ! address-family ipv6 exit-address-family
R8 (CE)
R8#show run int Gi0/0 | sec int interface GigabitEthernet0/0 description ** to Host2 ** no ip address duplex auto speed auto media-type rj45 R8#show run int Gi0/0.10 | sec int interface GigabitEthernet0/0.10 description ** to Host2 in VRF-BLUE ** encapsulation dot1Q 10 vrf forwarding VRF-BLUE ipv6 address FE80::2 link-local ipv6 address 2001:DB8:B::2/64 ospfv3 10 ipv6 area 0 R8#show run int Gi0/1 | sec int interface GigabitEthernet0/1 description ** to PE R6 ** no ip address duplex auto speed auto media-type rj45 R8#show run int Gi0/1.10 | sec int interface GigabitEthernet0/1.10 description ** to PE R6 in VRF-BLUE ** encapsulation dot1Q 10 vrf forwarding VRF-BLUE ipv6 address FE80::2 link-local ipv6 address 2001:DB8:2::2/64 ospfv3 10 ipv6 area 0 ospfv3 10 ipv6 network point-to-point R8#show run | sec ^router router ospfv3 10 ! address-family ipv6 unicast vrf VRF-BLUE router-id 8.8.8.8 capability vrf-lite exit-address-family R8#show run | sec ^vrf vrf definition VRF-BLUE rd 1:1 ! address-family ipv6 exit-address-family
Host1#trace 2001:DB8:B::1 Type escape sequence to abort. Tracing the route to 2001:DB8:B::1 1 2001:DB8:A::2 2 msec 2 msec 2 msec 2 2001:DB8:1::1 24 msec 25 msec 23 msec 3 ::FFFF:10.3.0.2 [MPLS: Labels 103/610 Exp 0] 49 msec 49 msec 48 msec « VPN Service Label assigned by PE R6 4 ::FFFF:10.1.0.2 [MPLS: Labels 203/610 Exp 0] 48 msec 48 msec 50 msec 5 ::FFFF:10.2.0.2 [MPLS: Labels 303/610 Exp 0] 48 msec 50 msec 49 msec 6 2001:DB8:2::1 [MPLS: Label 610 Exp 0] 27 msec 27 msec 27 msec 7 2001:DB8:2::2 49 msec 50 msec 49 msec 8 2001:DB8:B::1 49 msec 48 msec 48 msec R7#show ospfv3 vrf VRF-BLUE neighbor OSPFv3 10 address-family ipv6 vrf VRF-BLUE (router-id 7.7.7.7) Neighbor ID Pri State Dead Time Interface ID Interface 5.5.5.5 0 FULL/ - 00:00:33 10 GigabitEthernet0/1.10 « OSPFv3 neighborship between PE - CE R7#show ospfv3 vrf VRF-BLUE database OSPFv3 10 address-family ipv6 vrf VRF-BLUE (router-id 7.7.7.7) Router Link States (Area 0) ADV Router Age Seq# Fragment ID Link count Bits 5.5.5.5 799 0x80000008 0 1 B E 7.7.7.7 746 0x8000000D 0 1 None Inter Area Prefix Link States (Area 0) ADV Router Age Seq# Prefix 5.5.5.5 541 0x80000002 2001:DB8:B::/64 « CE R7 receives Site 2 prefix as OSPF inter-area route Link (Type-8) Link States (Area 0) ADV Router Age Seq# Link ID Interface 5.5.5.5 799 0x80000002 10 Gi0/1.10 7.7.7.7 746 0x80000002 10 Gi0/1.10 7.7.7.7 746 0x80000002 9 Gi0/0.10 Intra Area Prefix Link States (Area 0) ADV Router Age Seq# Link ID Ref-lstype Ref-LSID 5.5.5.5 799 0x80000002 0 0x2001 0 7.7.7.7 746 0x80000006 0 0x2001 0 R7#show ospfv3 vrf VRF-BLUE ipv6 database inter-area prefix 2001:DB8:B::/64 OSPFv3 10 address-family ipv6 vrf VRF-BLUE (router-id 7.7.7.7) Inter Area Prefix Link States (Area 0) LS age: 604 LS Type: Inter Area Prefix Links « Site 2 prefix is an inter-area OSPF route Link State ID: 0 Advertising Router: 5.5.5.5 LS Seq Number: 80000002 Checksum: 0x4F8E Length: 36 Metric: 2 Prefix Address: 2001:DB8:B:: Prefix Length: 64, Options: DN « The DN bit is set when received from the PE router R7#show ipv6 route vrf VRF-BLUE 2001:DB8:B::/64 Routing entry for 2001:DB8:B::/64 Known via "ospf 10", distance 110, metric 3, type inter area Route count is 1/1, share count 0 Routing paths: FE80::1, GigabitEthernet0/1.10 From FE80::1 Last updated 00:43:11 ago R5#show ip bgp vpnv6 unicast rd 65010:2 2001:DB8:B::/64 BGP routing table entry for [65010:2]2001:DB8:B::/64, version 9 Paths: (1 available, best #1, no table) Not advertised to any peer Refresh Epoch 1 Local ::FFFF:6.6.6.6 (metric 5) (via default) from 4.4.4.4 (4.4.4.4) Origin incomplete, metric 2, localpref 100, valid, internal, best Extended Community: RT:65010:2 OSPF ROUTER ID:6.6.6.6:0 « Route Target value attached by PE R6 OSPF RT:0.0.0.0:2:0 Originator: 6.6.6.6, Cluster list: 4.4.4.4 mpls labels in/out nolabel/610 rx pathid: 0, tx pathid: 0x0
Option 4) Configuring RIPng between PE - CE
In the following example scenario RIPng is configured as the PE - CE routing protocol for a L3VPN MPLS 6VPE network. Two IPv6 sites are connected through a Service Provider MPLS network using a single VRF called "VRF-BLUE".
Configuration:
R5 (PE)
R5#show run int Gi0/0 | sec int interface GigabitEthernet0/0 description ** to CE R7 ** no ip address duplex auto speed auto media-type rj45 R5#show run int Gi0/0.10 | sec int interface GigabitEthernet0/0.10 description ** to CE R7 in VRF-BLUE ** encapsulation dot1Q 10 vrf forwarding VRF-BLUE ipv6 address FE80::1 link-local ipv6 address 2001:DB8:1::1/64 ipv6 rip RIPng-EXAMPLE enable R5#show run int Gi0/1 | sec int interface GigabitEthernet0/1 description ** to R1 ** ip address 10.3.0.1 255.255.255.252 ip ospf network point-to-point duplex auto speed auto media-type rj45 R5#show run int Lo10 | sec int interface Loopback10 ip address 5.5.5.5 255.255.255.255 R5#show run | sec ^ipv6 rip ipv6 rip vrf-mode enable R5#show run | sec ^ipv6 router|^router router ospf 10 mpls ldp autoconfig area 0 router-id 5.5.5.5 network 5.5.5.5 0.0.0.0 area 0 network 10.3.0.0 0.0.0.3 area 0 router bgp 65010 bgp router-id 5.5.5.5 bgp log-neighbor-changes neighbor 4.4.4.4 remote-as 65010 neighbor 4.4.4.4 update-source Loopback10 ! address-family vpnv6 neighbor 4.4.4.4 activate neighbor 4.4.4.4 send-community extended exit-address-family ! address-family ipv6 vrf VRF-BLUE redistribute rip RIPng-EXAMPLE exit-address-family ipv6 router rip RIPng-EXAMPLE ! address-family ipv6 vrf VRF-BLUE redistribute bgp 65010 exit-address-family R5#show run | sec ^vrf vrf definition VRF-BLUE rd 65010:1 ! address-family ipv6 route-target export 65010:1 route-target import 65010:2 exit-address-family R5#show run | sec ^mpls mpls label range 500 599
R6 (PE)
R6#show run int Gi0/0 | sec int interface GigabitEthernet0/0 description ** to CE R8 ** no ip address duplex auto speed auto media-type rj45 R6#show run int Gi0/0.10 | sec int interface GigabitEthernet0/0.10 description ** to CE R8 in VRF-BLUE ** encapsulation dot1Q 10 vrf forwarding VRF-BLUE ipv6 address FE80::1 link-local ipv6 address 2001:DB8:2::1/64 ipv6 rip RIPng-EXAMPLE enable R6#show run int Gi0/1 | sec int interface GigabitEthernet0/1 description ** to R1 ** ip address 10.5.0.1 255.255.255.252 ip ospf network point-to-point duplex auto speed auto media-type rj45 R6#show run int Lo10 | sec int interface Loopback10 ip address 6.6.6.6 255.255.255.255 R6#show run | sec ^ipv6 rip ipv6 rip vrf-mode enable R6#show run | sec ^ipv6 router|^router router ospf 10 mpls ldp autoconfig area 0 router-id 6.6.6.6 network 6.6.6.6 0.0.0.0 area 0 network 10.5.0.0 0.0.0.3 area 0 router bgp 65010 bgp router-id 6.6.6.6 bgp log-neighbor-changes neighbor 4.4.4.4 remote-as 65010 neighbor 4.4.4.4 update-source Loopback10 ! address-family vpnv6 neighbor 4.4.4.4 activate neighbor 4.4.4.4 send-community extended exit-address-family ! address-family ipv6 vrf VRF-BLUE redistribute rip RIPng-EXAMPLE exit-address-family ipv6 router rip RIPng-EXAMPLE ! address-family ipv6 vrf VRF-BLUE redistribute bgp 65010 exit-address-family R6#show run | sec ^vrf vrf definition VRF-BLUE rd 65010:2 ! address-family ipv6 route-target export 65010:2 route-target import 65010:1 exit-address-family R6#show run | sec ^mpls mpls label range 600 699
R7 (CE)
R7#show run int Gi0/0 | sec int interface GigabitEthernet0/0 description ** to Host1 ** no ip address duplex auto speed auto media-type rj45 R7#show run int Gi0/0.10 | sec int interface GigabitEthernet0/0.10 description ** to Host1 in VRF-BLUE ** encapsulation dot1Q 10 vrf forwarding VRF-BLUE ipv6 address FE80::2 link-local ipv6 address 2001:DB8:A::2/64 ipv6 rip RIPng-EXAMPLE enable R7#show run int Gi0/1 | sec int interface GigabitEthernet0/1 description ** to PE R5 ** no ip address duplex auto speed auto media-type rj45 R7#show run int Gi0/1.10 | sec int interface GigabitEthernet0/1.10 description ** to PE R5 in VRF-BLUE ** encapsulation dot1Q 10 vrf forwarding VRF-BLUE ipv6 address FE80::2 link-local ipv6 address 2001:DB8:1::2/64 ipv6 rip RIPng-EXAMPLE enable R7#show run | sec ^ipv6 router ipv6 router rip RIPng-EXAMPLE ! address-family ipv6 vrf VRF-BLUE exit-address-family R7#show run | sec ^ipv6 rip ipv6 rip vrf-mode enable R7#show run | sec ^vrf vrf definition VRF-BLUE rd 1:1 ! address-family ipv6 exit-address-family
R8 (CE)
R8#show run int Gi0/0 | sec int interface GigabitEthernet0/0 description ** to Host2 ** no ip address duplex auto speed auto media-type rj45 R8#show run int Gi0/0.10 | sec int interface GigabitEthernet0/0.10 description ** to Host2 in VRF-BLUE ** encapsulation dot1Q 10 vrf forwarding VRF-BLUE ipv6 address FE80::2 link-local ipv6 address 2001:DB8:B::2/64 ipv6 rip RIPng-EXAMPLE enable R8#show run int Gi0/1 | sec int interface GigabitEthernet0/1 description ** to PE R6 ** no ip address duplex auto speed auto media-type rj45 R8#show run int Gi0/1.10 | sec int interface GigabitEthernet0/1.10 description ** to PE R6 in VRF-BLUE ** encapsulation dot1Q 10 vrf forwarding VRF-BLUE ipv6 address FE80::2 link-local ipv6 address 2001:DB8:2::2/64 ipv6 rip RIPng-EXAMPLE enable R8#show run | sec ^ipv6 rip ipv6 rip vrf-mode enable R8#show run | sec ^ipv6 router ipv6 router rip RIPng-EXAMPLE ! address-family ipv6 vrf VRF-BLUE exit-address-family R8#show run | sec ^vrf vrf definition VRF-BLUE rd 1:1 ! address-family ipv6 exit-address-family
Host1#trace 2001:DB8:B::2 Type escape sequence to abort. Tracing the route to 2001:DB8:B::2 1 2001:DB8:A::2 2 msec 2 msec 2 msec 2 2001:DB8:1::1 24 msec 24 msec 25 msec 3 ::FFFF:10.3.0.2 [MPLS: Labels 103/609 Exp 0] 49 msec 49 msec 49 msec « MPLS VPN Service Label assigned by PE R6 4 ::FFFF:10.1.0.2 [MPLS: Labels 203/609 Exp 0] 48 msec 49 msec 48 msec 5 ::FFFF:10.2.0.2 [MPLS: Labels 303/609 Exp 0] 48 msec 49 msec 48 msec 6 2001:DB8:2::1 [MPLS: Label 609 Exp 0] 27 msec 27 msec 27 msec 7 2001:DB8:2::2 48 msec 46 msec 48 msec R7#show ipv6 rip vrf VRF-BLUE database RIP VRF "VRF-BLUE", local RIB 2001:DB8:1::/64, metric 2 GigabitEthernet0/1.10/FE80::1, expires in 165 secs 2001:DB8:B::/64, metric 3, installed « Site 2 IPv6 prefix learned by CE R7 through RIPng GigabitEthernet0/1.10/FE80::1, expires in 165 secs R7#show ipv6 rip vrf VRF-BLUE next-hops RIP VRF "VRF-BLUE", Next Hops FE80::1/GigabitEthernet0/1.10 [2 paths] « RIPng neighborship between PE - CE R7#show ipv6 rip vrf VRF-BLUE RIP VRF "VRF-BLUE", port 521, multicast-group FF02::9, pid 48 Administrative distance is 120. Maximum paths is 16 Updates every 30 seconds, expire after 180 Holddown lasts 0 seconds, garbage collect after 120 Split horizon is on; poison reverse is off Default routes are not generated Periodic updates 56, trigger updates 3 Full Advertisement 0, Delayed Events 0 Interfaces: « RIPng enabled on these CE R7 interfaces GigabitEthernet0/1.10 GigabitEthernet0/0.10 Redistribution: None R7#show ipv6 route vrf VRF-BLUE rip IPv6 Routing Table - VRF-BLUE - 6 entries Codes: C - Connected, L - Local, S - Static, U - Per-user Static route B - BGP, HA - Home Agent, MR - Mobile Router, R - RIP H - NHRP, I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea IS - ISIS summary, D - EIGRP, EX - EIGRP external, NM - NEMO ND - ND Default, NDp - ND Prefix, DCE - Destination, NDr - Redirect RL - RPL, O - OSPF Intra, OI - OSPF Inter, OE1 - OSPF ext 1 OE2 - OSPF ext 2, ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2 la - LISP alt, lr - LISP site-registrations, ld - LISP dyn-eid lA - LISP away, a - Application R 2001:DB8:B::/64 [120/3] « Site 2 route installed in RIB of CE R7 via FE80::1, GigabitEthernet0/1.10 R7#show ipv6 route vrf VRF-BLUE 2001:DB8:B::/64 Routing entry for 2001:DB8:B::/64 Known via "rip RIPng-EXAMPLE", distance 120, metric 3 « Site 2 route learned through RIPng Route count is 1/1, share count 0 Routing paths: FE80::1, GigabitEthernet0/1.10 From FE80::1 Last updated 00:20:08 ago R5#show ip bgp vpnv6 unicast rd 65010:2 2001:DB8:B::/64 BGP routing table entry for [65010:2]2001:DB8:B::/64, version 15 Paths: (1 available, best #1, no table) Not advertised to any peer Refresh Epoch 1 Local ::FFFF:6.6.6.6 (metric 5) (via default) from 4.4.4.4 (4.4.4.4) Origin incomplete, metric 2, localpref 100, valid, internal, best Extended Community: RT:65010:2 « PE R5 receives BGP VPNv6 route with Route Target assigned by PE R6 Originator: 6.6.6.6, Cluster list: 4.4.4.4 mpls labels in/out nolabel/609 rx pathid: 0, tx pathid: 0x0
Information attached to BGP VPNv6 routes by different PE - CE routing protocols
IPv6 prefixes advertised from the CE routers to the PE routers are redistributed into the BGP VPNv6 address-family. The PE - CE protocol of choice may depend on a variety a circumstances and technical requirements. However, within the L3VPN MPLS 6VPE network the Site-specific prefixes are advertised as BGP VPNv6 routes. VPNv6 routes are 192-bits long as opposed to an IPv6 address which is 128-bit long.
The additional information contained in VPNv6 route advertisements may be different depending on the PE - CE routing protocol. The following table shows some of these differences.
| PE - CE Routing Protocol | BGP VPNv6 Advertisement |
|---|---|
| External BGP (eBGP) | R5#show ip bgp vpnv6 unicast rd 65010:2 2001:DB8:B::/64
BGP routing table entry for [65010:2]2001:DB8:B::/64, version 3
Paths: (1 available, best #1, no table)
Flag: 0x100
Not advertised to any peer
Refresh Epoch 1
65002
::FFFF:6.6.6.6 (metric 5) (via default) from 4.4.4.4 (4.4.4.4)
Origin IGP, metric 0, localpref 100, valid, internal, best
Extended Community: RT:65010:2
Originator: 6.6.6.6, Cluster list: 4.4.4.4
mpls labels in/out nolabel/609
rx pathid: 0, tx pathid: 0x0
|
| OSPFv3 for IPv6 | R5#show ip bgp vpnv6 unicast rd 65010:2 2001:DB8:B::/64
BGP routing table entry for [65010:2]2001:DB8:B::/64, version 9
Paths: (1 available, best #1, no table)
Not advertised to any peer
Refresh Epoch 1
Local
::FFFF:6.6.6.6 (metric 5) (via default) from 4.4.4.4 (4.4.4.4)
Origin incomplete, metric 2, localpref 100, valid, internal, best
Extended Community: RT:65010:2 OSPF ROUTER ID:6.6.6.6:0
OSPF RT:0.0.0.0:2:0
Originator: 6.6.6.6, Cluster list: 4.4.4.4
mpls labels in/out nolabel/610
rx pathid: 0, tx pathid: 0x0
|
| EIGRP IPv6 | R5#show ip bgp vpnv6 unicast rd 65010:2 2001:DB8:B::/64
BGP routing table entry for [65010:2]2001:DB8:B::/64, version 3
Paths: (1 available, best #1, no table)
Not advertised to any peer
Refresh Epoch 1
Local
::FFFF:6.6.6.6 (metric 5) (via default) from 4.4.4.4 (4.4.4.4)
Origin incomplete, metric 15360, localpref 100, valid, internal, best
Extended Community: RT:65010:2 Cost:pre-bestpath:128:15360
0x8800:32768:0 0x8801:10:512 0x8802:65281:2560 0x8803:65281:1500
0x8806:0:134744072 0x8807:45:822149120
Originator: 6.6.6.6, Cluster list: 4.4.4.4
mpls labels in/out nolabel/609
rx pathid: 0, tx pathid: 0x0
|
| RIPng | R5#show ip bgp vpnv6 unicast rd 65010:2 2001:DB8:B::/64
BGP routing table entry for [65010:2]2001:DB8:B::/64, version 15
Paths: (1 available, best #1, no table)
Not advertised to any peer
Refresh Epoch 1
Local
::FFFF:6.6.6.6 (metric 5) (via default) from 4.4.4.4 (4.4.4.4)
Origin incomplete, metric 2, localpref 100, valid, internal, best
Extended Community: RT:65010:2
Originator: 6.6.6.6, Cluster list: 4.4.4.4
mpls labels in/out nolabel/609
rx pathid: 0, tx pathid: 0x0
|