293
Figure 65 Network diagram for 6PE
6PE mainly performs the following operations:
• 6PE assigns a label to IPv6 routing information received from a CE router, and sends the
labeled IPv6 routing information to the peer 6PE device through an MP-BGP session. The peer
6PE device then forwards the IPv6 routing information to the attached customer site.
• 6PE provides tunnels over the IPv4 backbone so the IPv4 backbone can forward packets for
IPv6 networks. The tunnels can be GRE tunnels, MPLS LSPs, or MPLS TE tunnels.
• Upon receiving an IPv6 packet, 6PE adds an inner tag (corresponding to the IPv6 packet) and
then an outer tag (corresponding to the public network tunnel) to the IPv6 packet. Devices in the
IPv4 backbone network forwards the packet based on the outer tag. When the peer 6PE device
receives the packet, it removes the outer and inner tags and forwards the original IPv6 packet to
the attached customer site.
To implement exchange of IPv6 routing information, you can configure IPv6 static routing, an IPv6
IGP protocol, or IPv6 BGP between CE and 6PE devices.
For more information about MPLS, MPLS TE, CE, and P, see MPLS Configuration Guide. For more
information about GRE, see Layer 3—IP Services Configuration Guide.
Configuring basic 6PE
Before you configure 6PE, perform the following tasks:
• Establish tunnels in the IPv4 backbone network (see Layer 3—IP Services Configuration
Guide).
• Configure basic MPLS on 6PE devices (see MPLS Configuration Guide).
• Configure BGP on 6PE devices so that they can advertise tagged IPv6 routing information
through BGP sessions. The following describes only BGP configurations on 6PE devices.
To configure basic 6PE:
1. Enter system view.
N/A
2. Enter BGP instance view.
bgp
as-number [
instance
instance-name ]
N/A
3. Specify a 6PE peer or peer
group and its AS number.
peer
{ group-name | ipv4-address
[ mask-length ] }
as-number
as-number
No 6PE peer is specified by
default.
4. Enter BGP IPv6 unicast
address family view.
address-family ipv6
[
unicast
]
N/A
5. Enable BGP to exchange
IPv6 unicast routing
information with the 6PE
peer or peer group.
peer
{ group-name | ipv4-address
[ mask-length ] }
enable
This feature is disabled by
default.
6. Enable BGP to exchange
peer
{ group-name | ipv4-address
This feature is disabled by
IPv6 network
Customer site
CE
6PE 6PE
P
IPv4/MPLS network
IBGP
CE
IPv6 network
Customer site