R3303-HP HSR6800 Routers MPLS Configuration Guide
424
Configuring an IPv6 MPLS L3VPN that uses a GRE tunnel
Network requirements
CE 1 and CE 2 belong to VPN 1. The PEs support MPLS, while the P router does not support MPLS and
provides only IP functions.
On the backbone, use a GRE tunnel to encapsulate and forward VPN packets to implement IPv6 MPLS
L3VPN.
Configure tunneling policies on the PEs and specify the tunnel type for VPN traffic as GRE.
Figure 106 Network diagram
Device Interface IP address
Device
Interface
IP address
CE 1 GE2/1/1 2001:1::1/96 P POS5/1/1 172.1.1.2/24
PE 1 Loop0 1.1.1.9/32
POS5/1/2 172.2.1.1/24
GE2/1
/
1 2001:1::2/96
PE 2
Loop0
2.2.2.9/32
POS5/1/1 172.1.1.1/24 GE2/1/1 2001:2::2/96
Tunnel0 20.1.1.1/24
POS5/1/1 172.2.1.2/24
CE 2 GE2/1
/
1 2001:2::1
/
96
Tunnel0
20.1.1.2/24
Configuration procedure
1. Configure an IGP on the MPLS backbone to achieve IP connectivity among the PEs and the P
router:
This example uses OSPF. (Details not shown.)
After the configurations, OSPF adjacencies are established between PE 1, P, and PE 2. Execute the
display ospf peer command. The output shows that the adjacency status is Full. Execute the display
ip routing-table command. The output shows that the PEs have learned the routes to the loopback
interfaces of each other.
2. Configure basic MPLS on the PEs:
# Configure PE 1.
<PE1> system-view
[PE1] mpls lsr-id 1.1.1.9
Loop0 Loop0
POS5/1/1 POS5/1/2
POS5/1/1POS5/1/1
Tunnel0
Tunnel0
GE2/1/1GE2/1/1
GE2/1/1
GE2/1/1
CE 1
CE 2
VPN 1
VPN 1
AS 65410 AS 65420
PE 1
PE 2
P
AS 100
GRE tunnel