Professional Documents
Culture Documents
Ipv6 Over MPLS: 6pe and 6vpe: Finding Feature Information
Ipv6 Over MPLS: 6pe and 6vpe: Finding Feature Information
Ipv6 Over MPLS: 6pe and 6vpe: Finding Feature Information
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, on page 1
• Prerequisites, on page 1
• Restrictions, on page 2
• Feature Overview, on page 2
• Supported Features, on page 4
• Scalability Numbers, on page 4
• How to Configure IPv6 over MPLS: 6PE and 6VPE, on page 5
• Configuration Examples, on page 16
• Additional References, on page 18
• Feature Information for IPv6 over MPLS: 6PE and 6VPE, on page 19
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.
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
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.
V6 IPv6 router on the customer 6PE PE equipment, connected to CEs and entry points to the
premises MPLS clouds, running a dual stack IPv6/IPv4 (IPv6 to
communicate with CEs)
V4 IPv4 router on the customer P Provider routers, core of the MPLS backbone running MPLS
premises and IPv4 stack
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.
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 4 shows the scalability numbers for the 6PE and
6VPE feature.
Interface Numbers
Number of VPNv6 prefixes About 4000 Table 1: Scalability Numbers for 6PE and 6VPE , on
page 4
Interface Numbers
Number of global IPv6 prefixes About 4000 Table 1: Scalability Numbers for 6PE and 6VPE , on
page 4
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:
SUMMARY STEPS
1. enable
2. configure terminal
3. ip cef
4. ipv6 cef
5. ipv6 unicast-routing
6. router bgp as-number
7. no synchronization
8. no bgp default ipv4-unicast
9. neighbor {ip-address | ipv6-address | peer-group-name} remote-as as-number
10. neighbor {ip-address | ipv6-address | peer-group-name} update-source interface-type interface-number
11. address-family ipv6
12. neighbor {ip-address | ipv6-address | peer-group-name} activate
13. neighbor {ip-address | ipv6-address | peer-group-name} send-label
14. exit-address-family
DETAILED STEPS
Router> enable
Router(config)# ip cef
Step 6 router bgp as-number Enters the number that identifies the autonomous system
(AS) in which the router resides.
Example:
• as-number—Autonomous system number. Range for
Router(config)# router bgp 100 2-byte numbers is 1 to 65535. Range for 4-byte
numbers is 1.0 to 65535.65535.
Router(config-router)# no synchronization
Step 8 no bgp default ipv4-unicast Disables the default IPv4 unicast address family for peering
session establishment.
Example:
Step 9 neighbor {ip-address | ipv6-address | peer-group-name} Adds an entry to the BGP or multiprotocol BGP neighbor
remote-as as-number table.
Example: • ip-address—IP address of a peer router with which
routing information will be exchanged.
Router(config-router)# neighbor 10.108.1.2 • ipv6-address—IPv6 address of a peer router with
remote-as 65200
which routing information will be exchanged.
• peer-group-name—Name of the BGP peer group.
• remote-as—Specifies a remote autonomous system.
Step 10 neighbor {ip-address | ipv6-address | peer-group-name} Configures BGP sessions to use any operational interface
update-source interface-type interface-number for TCP connections.
Example:
Step 11 address-family ipv6 Enters address family configuration mode for configuring
routing sessions, such as BGP, that use standard IPv6
Example:
address prefixes.
Router(config-router)# address-family ipv6
Step 12 neighbor {ip-address | ipv6-address | peer-group-name} Enables the exchange of information with a BGP neighbor.
activate
Example:
Step 13 neighbor {ip-address | ipv6-address | peer-group-name} Sends MPLS labels with BGP routes to a neighboring BGP
send-label router.
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:
SUMMARY STEPS
1. enable
2. configure terminal
3. router bgp
4. address-family ipv6 [vrf vrf-name]
5. neighbor{ip-address | ipv6-address | peer-group-name} remote-as as-number
6. neighbor{ip-address | ipv6-address | peer-group-name} activate
7. exit-address-family
DETAILED STEPS
Router> enable
Step 3 router bgp Enters the number that identifies the autonomous system
(AS) in which the router resides. Autonomous system
Example:
number: Range for 2-byte numbers is 1 to 65535. Range
for 4-byte numbers is 1.0 to 65535.65535.
Router(config)# router bgp 100
Step 4 address-family ipv6 [vrf vrf-name] Enters address family configuration mode for configuring
routing sessions, such as BGP, that use standard IPv6
Example:
address prefixes.
Router(config-router)# address-family ipv6 • vrf—(Optional) Specifies all VRF instance tables or
labeled-unicast a specific VRF table for an IPv6 address.
• vrf-name—(Optional) A specific VRF table for an
IPv6 address.
Step 5 neighbor{ip-address | ipv6-address | peer-group-name} Adds an entry to the BGP or multiprotocol BGP neighbor
remote-as as-number table.
Example: • ip-address —IP address of a peer router with which
routing information will be exchanged.
Router(config-router-af)# neighbor 10.108.1.2 • ipv6-address —IPv6 address of a peer router with
remote-as 65200
which routing information will be exchanged.
• peer-group-name —Name of the BGP peer group.
• remote-as —Specifies a remote autonomous system.
• as-number—Number of an autonomous system to
which the neighbor belongs, ranging from 1 to 65535.
Router(config-router-af)# exit-address-family
SUMMARY STEPS
1. enable
2. configure terminal
3. router bgp as-number
4. address-family vpnv6
5. neighbor {ip-address | ipv6-address | peer-group-name} activate
6. neighbor {ip-address | ipv6-address | peer-group-name} send-community extended
7. exit-address-family
DETAILED STEPS
Router> enable
Step 3 router bgp as-number Enters the number that identifies the autonomous system
(AS) in which the router resides. Autonomous system
Example:
number. Range for 2-byte numbers is 1 to 65535. Range
for 4-byte numbers is 1.0 to 65535.65535.
Router(config)# router bgp 100
Step 5 neighbor {ip-address | ipv6-address | peer-group-name} Enable the exchange of information with a BGP neighbor.
activate
Example:
Step 6 neighbor {ip-address | ipv6-address | peer-group-name} Adds an entry to the BGP or multiprotocol BGP neighbor
send-community extended table.
Example:
Router(config-router-af)# exit-address-family
SUMMARY STEPS
1. enable
2. configure terminal
3. interface ip-address
4. ip addressip-address
5. mpls ip
6. exit
DETAILED STEPS
Router> enable
Router(config-if)# mpls ip
Router(config-if)# exit
SUMMARY STEPS
1. enable
2. configure terminal
3. vrf definition vrf-name
4. address-family ipv6
5. exit-address-family
DETAILED STEPS
Router> enable
Step 3 vrf definition vrf-name Configures a VRF routing table instance and enters VRF
configuration mode.
Example:
• vrf-name—Name assigned to a VRF.
Router(config)# vrf definition red
Step 4 address-family ipv6 Enters address family configuration mode for configuring
routing sessions that use standard IPv6 address prefixes.
Example:
Router(config-vrf-af)# exit-address-family
SUMMARY STEPS
1. enable
2. configure terminal
3. vrf definition vrf-name
4. address-family ipv4
5. exit-address-family
6. address-family ipv6
7. exit-address-family
DETAILED STEPS
Router> enable
Step 3 vrf definition vrf-name Configures a VRF routing table instance and enters VRF
configuration mode.
Example:
• vrf-name—Name assigned to a VRF.
Router(config)# vrf definition red
Step 4 address-family ipv4 Enters address family configuration mode for configuring
routing sessions that use standard IPv4 address prefixes.
Example:
Router(config-vrf-af)# exit-address-family
Step 6 address-family ipv6 Enters address family configuration mode for configuring
routing sessions that use standard IPv6 address prefixes.
Example:
Router(config-vrf-af)# exit-address-family
To display the parameters and the current state of the active IPv6 routing protocol processes, use the following
show command:
To display IPv6 router advertisement (RA) information received from on-link devices, use the following show
command:
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.
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.
To display label forwarding information for advertised Virtual Private Network (VPN) routing and forwarding
(VRF) instance routes, use the following show command.
To display output information linking the MPLS label with prefixes, use the following show command.
To display entries in the IPv6 BGP routing table, use the following show command:
Configuration Examples
This section provides sample configuration examples for IPv6 over MPLS: 6PE and 6VPE feature on the
router.
interface GigabitEthernet0/3/0/0
ipv6 address 2001::1/64
!
router isis ipv6-cloud
net 49.0000.0000.0001.00
address-family ipv6 unicast
single-topology
interface GigabitEthernet0/3/0/0
address-family ipv6 unicast
!
!
router bgp 55400
bgp router-id 54.6.1.1
address-family ipv4 unicast
!
address-family ipv6 unicast
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
vrf vpn1
address-family ipv6 unicast
import route-target
200:2
!
export route-target
200:2
interface Loopback0
ipv4 address 10.0.0.1 255.255.255.255
interface GigabitEthernet0/0/0/1
vrf vpn1
ipv6 address 2001:c003:a::2/64
router bgp 1
bgp router-id 10.0.0.1
bgp redistribute-internal
bgp graceful-restart
address-family ipv4 unicast
!
address-family vpnv6 unicast
!
neighbor 10.0.0.2 >>>> Remote peer loopback address.
remote-as 1
update-source Loopback0
address-family ipv4 unicast
!
address-family vpnv6 unicast
route-policy pass-all in
route-policy pass-all out
!
vrf vpn1
rd 100:2
bgp router-id 140.140.140.140
address-family ipv6 unicast
redistribute connected
!
neighbor 2001:c003:a::1
remote-as 6502
Additional References
The following sections provide references related to IPv6 over MPLS: 6PE and 6VPE feature.
Related Documents
Cisco IOS Commands Cisco IOS Master Commands List, All Releases
Command Reference
IPv6 Provider Edge Router over MPLS Cisco IOS IPv6 Provider Edge Router (6PE) over MPLS
Standards
Standard Title
None —
MIBs
None To locate and download MIBs for selected platforms, Cisco IOS releases, and feature sets, use Cisco
MIB Locator found at the following URL:
http://www.cisco.com/go/mibs
RFCs
RFC Title
None —
Technical Assistance
Description Link
Note Table 2: Feature Information for IPv6 over MPLS: 6PE and 6VPE, on page 19 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
IPv6 over MPLS: 6PE and 6VPE 15.2(2)SNI This feature was introduced on the Cisco ASR 901 routers.
The following sections provide information about this feature: