This feature module describes how to implement IPv6 VPN Provider Edge Transport over MPLS (IPv6 on
Provider Edge Routers [6PE] and IPv6 on VPN Provider Edge Routers [6VPE]) on the Cisco ASR 901 Series
Aggregation Services Routers.
Finding Feature Information, page 1
Prerequisites, page 2
Restrictions, page 2
Feature Overview, page 2
Supported Features, page 5
Scalability Numbers, page 6
How to Configure IPv6 over MPLS: 6PE and 6VPE, page 6
Configuration Examples, page 17
Additional References, page 18
Feature Information for IPv6 over MPLS: 6PE and 6VPE, page 20
Cisco ASR 901 Series Aggregation Services Router Software Configuration Guide
1
Prerequisites
Cisco IOS Release 15.2(2)SNI or a later release that supports the IPv6 over MPLS: 6PE and 6VPE
feature must be installed previously on the Cisco ASR 901 Series Aggregation Services Router.
Multiprotocol Label Switching (MPLS) in provider backbone devices.
MPLS with Virtual Private Network (VPN) code in provider devices with VPN provider edge (PE)
devices.
Border Gateway Protocol (BGP) in all devices providing a VPN service.
Cisco Express Forwarding switching in every MPLS-enabled device.
Restrictions
The following restrictions are applicable for the IPv6 over MPLS: 6PE and 6VPE feature on the Cisco IOS
Release 15.2(2)SNI.
All the existing MPLS and IPv6 restrictions are applicable, as the base infrastructure of IPv6 and IPv4
MPLS remains the same.
6PE and 6VPE is supported only on the SVI interfaces.
The number of global VRFs supported is the same as that of IPv4, as both the IPv4 and IPv6 VPN
Routing and Forwarding (VRF) share the resources from the global VRF pool.
The number of IPv6 VRFs supported is restricted to 113, though the maximum number of configurable
VRFs are 127.
For the single label per prefix mode allocation, the 6PE and 6VPE scale is limited by the number of
labels available in the box (4000 labels).
Supports only static routes and BGP for IPv6 in VRF context.
Feature Overview
The IPv6 over MPLS: 6PE and 6VPE feature enables the service providers running an MPLS/IPv4 infrastructure
to offer IPv6 services without any major changes in the infrastructure. This feature offers the following options
to the service providers:
Connect to other IPv6 networks accessible across the MPLS core
Provide access to IPv6 services and resources that service provider provides
Provide IPv6 VPN services without going for complete overhaul of existing MPLS/IPv4 core
6PE and 6VPE uses the existing MPLS/IPv4 core infrastructure for IPv6 transport. It enables IPv6 sites to
communicate with each other over an MPLS/IPv4 core network using MPLS label switched paths (LSPs).
This feature relies heavily on multiprotocol Border Gateway Protocol (BGP) extensions in the IPv4 network
configuration on the provider edge (PE) router to exchange IPv6 reachability information (in addition to an
Cisco ASR 901 Series Aggregation Services Router Software Configuration Guide
2
MPLS label) for each IPv6 address prefix. Edge routers are configured as dual-stack, running both IPv4 and
IPv6, and use the IPv4 mapped IPv6 address for IPv6 prefix reachability exchange.
Cisco ASR 901 Series Aggregation Services Router Software Configuration Guide
3
V6
6PE
PE equipment, connected
to CEs and entry points to
the MPLS clouds, running
a dual stack IPv6/IPv4
(IPv6 to communicate
with CEs)
V4
Cisco ASR 901 Series Aggregation Services Router Software Configuration Guide
4
MPLS forwarding Transports all traffic between all VPN community members across a VPN
service-provider network.
In the MPLS-VPN model a VPN is defined as a collection of sites sharing a common routing table. A customer
site is connected to the service provider network by one or more interfaces, where the service provider associates
each interface with a VPN routing tableknown as the VRF table.
The following figure illustrates an MPLS VPN network.
For more conceptual information on 6PE and 6VPE, see the IPv6 VPN over MPLS guide in the MPLS: Layer
3 VPNs Configuration Guide.
Supported Features
The following 6PE and 6VPE features are supported on the Cisco ASR 901 router effective with Cisco IOS
Release 15.2(2) SNI:
IPv6 VRF support Enabled for supporting 6VPE
MPLS VPN 6VPE and 6PE Provides IPV6 reachability for IPv6 edge routers across an MPLS network
backbone running an IPv4 control plane, without making changes to the software on the MPLS P routers.
6VPE and 6PE with QoS Supports QoS provisioning in 6PE and 6VPE networks by using existing
QoS infrastructure and configuration.
MPLS VPN - VRF command for IPv4 and IPv6 VPN Supports commands that allows users to enable
IPv4 and IPv6 in the same VRF.
Cisco ASR 901 Series Aggregation Services Router Software Configuration Guide
5
Note
All the above features are built upon existing IPv4, IPv6, MPLS and BGP infrastructure in the IOS and
Cisco ASR 901 data plane support.
Scalability Numbers
Table 1: Scalability Numbers for 6PE and 6VPE , on page 6 shows the scalability numbers for the 6PE and
6VPE feature.
Table 1: Scalability Numbers for 6PE and 6VPE
Interface
Numbers
Number of VRFs
113
About 4000 1
1 This number is limited by the MPLS label usage on the PE router. The maximum number of label space shared between IPv4 and IPv6 is 4000.
Configuring 6PE
Ensure that you configure 6PE on PE routers participating in both the IPv4 cloud and IPv6 clouds. To learn
routes from both clouds, you can use any routing protocol supported on IOS (BGP, OSPF, IS-IS, EIGRP,
Static).
BGP running on a PE router should establish (IPv4) neighborhood with BGP running on other PEs.
Subsequently, it should advertise the IPv6 prefixes learnt from the IPv6 table to the neighbors. The IPv6
prefixes advertised by BGP would automatically have IPv4-encoded-IPv6 addresses as the nexthop-address
in the advertisement.
To configure 6PE, complete the following steps:
Cisco ASR 901 Series Aggregation Services Router Software Configuration Guide
6
Procedure
Step 1
Command or Action
Purpose
enable
Example:
Router> enable
Step 2
configure terminal
Example:
Router# configure terminal
Step 3
ip cef
Example:
Router(config)# ip cef
Step 4
ipv6 cef
Example:
Router(config)# ipv6 cef
Step 5
ipv6 unicast-routing
Example:
Router(config)# ipv6 unicast-routing
Step 6
Step 7
no synchronization
Example:
Router(config-router)# no
synchronization
Step 8
Example:
Router(config-router)# no bgp default
ipv4-unicast
Cisco ASR 901 Series Aggregation Services Router Software Configuration Guide
7
Step 9
Command or Action
Purpose
Example:
Router(config-router)# neighbor
10.108.1.2
remote-as 65200
Step 10
Example:
Router(config-router)# neighbor
172.16.2.3
update-source Loopback0
Step 11
address-family ipv6
Example:
Router(config-router)# address-family
ipv6
Step 12
Example:
Router(config-router-af)# neighbor
10.0.0.44
activate
Step 13
Cisco ASR 901 Series Aggregation Services Router Software Configuration Guide
8
Step 14
Command or Action
Purpose
exit-address-family
Example:
Router(config-router-af)#
exit-address-family
Configuring 6VPE
6VPE requires setting up of IPv6 connectivity from PE to CE routers, MP-BGP peering to the neighboring
PE and MPLS/IPv4 connectivity to the core network using supported routing protocols (like OSPF, IS-IS,
EIGRP, Static) as done in 6PE. In addition, IPv6 VRFs have to be created on the PE routers and attached to
the interfaces connecting to CE routers. IPv6-only or dual-stack(multi-protocol) VRFs support IPv6 VRF
definitions.
To configure 6VPE, perform the tasks given below:
Procedure
Step 1
Command or Action
Purpose
vrf
Example:
Router> enable
Step 2
configure terminal
Example:
Router# configure terminal
Step 3
router bgp
Example:
Router(config)# router bgp 100
Step 4
Cisco ASR 901 Series Aggregation Services Router Software Configuration Guide
9
Command or Action
Purpose
vrf-name(Optional) A specific VRF table for an
IPv6 address.
Step 5
Router(config-router-af)#
neighbor 10.108.1.2
remote-as 65200
Step 6
Step 7
exit-address-family
Example:
Router(config-router-af)#
exit-address-family
Procedure
Step 1
Command or Action
Purpose
enable
Example:
Router> enable
Cisco ASR 901 Series Aggregation Services Router Software Configuration Guide
10
Step 2
Command or Action
Purpose
configure terminal
Example:
Router# configure terminal
Step 3
Step 4
address-family vpnv6
Example:
Router(config-router)# address-family
vpnv6
Step 5
Example:
Router(config-router-af)# neighbor
10.0.0.44
activate
Step 6
Example:
Router(config-router-af)# neighbor
10.108.1.2
send-community extended
Step 7
exit-address-family
Example:
Router(config-router-af)#
exit-address-family
Cisco ASR 901 Series Aggregation Services Router Software Configuration Guide
11
Procedure
Step 1
Command or Action
Purpose
enable
Example:
Router> enable
Step 2
configure terminal
Example:
Router# configure terminal
Step 3
interface ip-address
Example:
interface-nameInterface name.
Step 4
ip addressip-address
Example:
Router(config-if)# ip address
1.1.1.1 255.255.255.0
Step 5
mpls ip
Example:
Router(config-if)# mpls ip
Step 6
exit
Example:
Router(config-if)# exit
Cisco ASR 901 Series Aggregation Services Router Software Configuration Guide
12
Procedure
Step 1
Command or Action
Purpose
enable
Example:
Router> enable
Step 2
configure terminal
Example:
Router# configure terminal
Step 3
Example:
Step 4
address-family ipv6
Example:
Router(config-vrf)# address-family
ipv6
Step 5
exit-address-family
Example:
Router(config-vrf-af)#
exit-address-family
Procedure
Step 1
Command or Action
Purpose
enable
Example:
Router> enable
Cisco ASR 901 Series Aggregation Services Router Software Configuration Guide
13
Step 2
Command or Action
Purpose
configure terminal
Example:
Router# configure terminal
Step 3
Example:
Step 4
address-family ipv4
Example:
Router(config-vrf)# address-family
ipv4
Step 5
exit-address-family
Example:
Router(config-vrf-af)#
exit-address-family
Step 6
address-family ipv6
Example:
Router(config-vrf)# address-family
ipv6
Step 7
exit-address-family
Example:
Router(config-vrf-af)#
exit-address-family
Cisco ASR 901 Series Aggregation Services Router Software Configuration Guide
14
Metric LocPrf
0
Weight Path
0
200 ?
32768 ?
32768 ?
32768 ?
To display the parameters and the current state of the active IPv6 routing protocol processes, use the following
show command:
Router# show ipv6 protocols vrf vpe_1
IPv6 Routing Protocol is "connected"
IPv6 Routing Protocol is "bgp 100"
IGP synchronization is disabled
Redistribution:
None
Neighbor(s):
Address
FiltIn FiltOut Weight RoutemapIn RoutemapOut
100::2
To display IPv6 router advertisement (RA) information received from on-link devices, use the following show
command:
Router# show ipv6 route vrf vpe_1
IPv6 Routing Table - vpe_1 - 29 entries
Codes: C - Connected, L - Local, S - Static, U - Per-user Static route
B - BGP, R - RIP, H - NHRP, I1 - ISIS L1
I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary, D - EIGRP
EX - EIGRP external, ND - ND Default, NDp - ND Prefix, DCE - Destination
NDr - Redirect
O - OSPF Intra, OI - OSPF Inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
B
72::/64 [20/0]
via 100::2
B
72:0:0:1::/64 [20/0]
via 100::2
B
72:0:0:2::/64 [20/0]
via 100::2
B
72:0:0:4::/64 [20/0]
via 100::2
B
72:0:0:5::/64 [20/0]
via 100::2
B
72:0:0:6::/64 [20/0]
via 100::2
B
72:0:0:7::/64 [20/0]
via 100::2
B
72:0:0:8::/64 [20/0]
via 100::2
B
72:0:0:9::/64 [20/0]
via 100::2
B
72:0:0:A::/64 [20/0]
via 100::2
B
72:0:0:B::/64 [20/0]
via 100::2
B
72:0:0:C::/64 [20/0]
via 100::2
B
72:0:0:D::/64 [20/0]
via 100::2
B
72:0:0:E::/64 [20/0]
via 100::2
B
72:0:0:F::/64 [20/0]
via 100::2
B
72:0:0:10::/64 [20/0]
via 100::2
B
72:0:0:11::/64 [20/0]
via 100::2
B
72:0:0:12::/64 [20/0]
via 100::2
Cisco ASR 901 Series Aggregation Services Router Software Configuration Guide
15
To display the Cisco Express Forwarding Forwarding Information Base (FIB) associated with an IPv6 Virtual
Private Network (VPN) routing and forwarding (VRF) instance, use the following show command.
Router# show ipv6 cef vrf cisco1
2001:8::/64
attached to GigabitEthernet0/0/1
2001:8::3/128
receive
2002:8::/64
nexthop 10.1.1.2 GigabitEthernet0/1/0 label 22 19
2010::/64
nexthop 2001:8::1 GigabitEthernet0/0/1
2012::/64
attached to Loopback1
2012::1/128
receive
To display IPv6 routing table information associated with a VPN routing and forwarding (VRF) instance, use
the following show command.
Router# show ipv6 route vrf
IPv6 Routing Table cisco1 - 6 entries
Codes: C - Connected, L - Local, S - Static, R - RIP, B - BGP
U - Per-user Static route
I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea
O - OSPF intra, OI - OSPF inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
C
2001:8::/64 [0/0]
via ::, GigabitEthernet0/0/1
L
2001:8::3/128 [0/0]
via ::, GigabitEthernet0/0/1
B
2002:8::/64 [200/0]
via ::FFFF:192.168.1.4,
B
2010::/64 [20/1]
via 2001:8::1,
C
2012::/64 [0/0]
via ::, Loopback1
L
2012::1/128 [0/0]
via ::, Loopback1
To display label forwarding information for advertised Virtual Private Network (VPN) routing and forwarding
(VRF) instance routes, use the following show command.
Router# show mpls forwarding-table vrf vpe_1
Local
Label
1760
1761
1762
1764
1765
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
Outgoing
Label
No Label
No Label
No Label
No Label
No Label
No Label
No Label
No Label
No Label
No Label
No Label
No Label
No Label
No Label
No Label
1778
No Label
Local
Label
1779
Outgoing
Label
No Label
Prefix
Bytes Label
or Tunnel Id
Switched
72::/64[V]
0
72:0:0:1::/64[V] 0
72:0:0:2::/64[V] 0
72:0:0:3::/64[V] 0
72:0:0:4::/64[V] 0
72:0:0:7::/64[V] 0
72:0:0:8::/64[V] 0
72:0:0:9::/64[V] 0
72:0:0:A::/64[V] 0
72:0:0:B::/64[V] 0
72:0:0:C::/64[V] 0
72:0:0:D::/64[V] 0
72:0:0:E::/64[V] 0
72:0:0:F::/64[V] 0
72:0:0:10::/64[V]
\
0
72:0:0:11::/64[V]
\
0
Prefix
Bytes Label
or Tunnel Id
Switched
72:0:0:12::/64[V]
\
0
Cisco ASR 901 Series Aggregation Services Router Software Configuration Guide
16
Outgoing
interface
Vl100
Vl100
Vl100
Vl100
Vl100
Vl100
Vl100
Vl100
Vl100
Vl100
Vl100
Vl100
Vl100
Vl100
Next Hop
Vl100
100::2
Vl100
Outgoing
interface
100::2
Next Hop
Vl100
100::2
100::2
100::2
100::2
100::2
100::2
100::2
100::2
100::2
100::2
100::2
100::2
100::2
100::2
100::2
1780
No Label
1781
No Label
1782
No Label
1783
No Label
1784
No Label
1785
No Label
72:0:0:13::/64[V]
0
72:0:0:14::/64[V]
0
72:0:0:15::/64[V]
0
72:0:0:16::/64[V]
0
72:0:0:17::/64[V]
0
72:0:0:18::/64[V]
0
\
Vl100
100::2
Vl100
100::2
Vl100
100::2
Vl100
100::2
Vl100
100::2
Vl100
100::2
\
\
\
\
\
To display output information linking the MPLS label with prefixes, use the following show command.
Router# show mpls forwarding-table
Local
tag
16
17
18
19
20
21
22
23
24
Outgoing
tag or VC
Aggregate
Aggregate
Aggregate
Pop tag
Pop tag
Pop tag
Aggregate
Aggregate
Aggregate
Prefix
or Tunnel Id
IPv6
IPv6
IPv6
192.168.99.64/30
192.168.99.70/32
192.168.99.200/32
IPv6
IPv6
IPv6
Bytes tag
switched
0
0
0
0
0
0
5424
3576
2600
Outgoing
interface
GE0/0
GE0/0
GE0/0
Next Hop
point2point
point2point
point2point
To display entries in the IPv6 BGP routing table, use the following show command:
Router# show bgp ipv6 2001:33::/64
BGP routing table entry for 2001:33::/64, version 3
Paths: (1 available, best #1, table Global-IPv6-Table)
Not advertised to any peer
Local
::FFFF:192.168.0.2 (metric 30) from 192.168.0.2 (192.168.0.2)
Origin IGP, localpref 100, valid, internal, best
Configuration Examples
This section provides sample configuration examples for IPv6 over MPLS: 6PE and 6VPE feature on the
Cisco ASR 901 Cisco ASR 901S router.
Cisco ASR 901 Series Aggregation Services Router Software Configuration Guide
17
network 55:5::/64
redistribute connected
redistribute isis ipv6-cloud
allocate-label all
!
neighbor 34.4.3.3
remote-as 55400
address-family ipv4 unicast
!
address-family ipv6 labeled-unicast
Additional References
The following sections provide references related to IPv6 over MPLS: 6PE and 6VPE feature.
Cisco ASR 901 Series Aggregation Services Router Software Configuration Guide
18
Related Documents
Related Topic
Document Title
Standards
Standard
Title
None
MIBs
MIB
MIBs Link
None
RFCs
RFC
Title
None
Cisco ASR 901 Series Aggregation Services Router Software Configuration Guide
19
Technical Assistance
Description
Link
Note
Table 2: Feature Information for IPv6 over MPLS: 6PE and 6VPE, on page 20 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.
Table 2: Feature Information for IPv6 over MPLS: 6PE and 6VPE
Feature Name
Releases
Feature Information
15.2(2)SNI
Cisco ASR 901 Series Aggregation Services Router Software Configuration Guide
20