CE1
GigabitEthernet1/0/0
VLANIF 10
30.1.1.1/24
CE2
GigabitEthernet1/0/0
VLANIF 40
30.1.1.2/24
Configuration Roadmap
The configuration roadmap is as follows:
1.
Configure routing protocols on the PEs and P on the backbone network to implement
internetworking, and enable basic MPLS functions and LDP.
2.
Enable MPLS L2VPN and configure BGP L2VPN on PEs.
3.
Configure the VPN instance and CE connections.
Data Preparation
To complete the configuration, you need the following data:
l
ASN of BGP
l
Names of VPN instances, RDs, and VPN targets
l
Names and IDs of the CEs (The CE IDs are globally unique.), and CE range, namely, the
label block
Procedure
Step 1
Configure the IDs of the VLANs to which the interfaces of CE, PE, and P belong according to
.
The configuration procedure is not mentioned.
NOTE
The packet sent from CE to PE must have VLAN tags.
Step 2
Configure an IGP protocol on the MPLS backbone network.
In this example, OSPF is used as the IGP protocol. When configuring OSPF, advertise the 32-
bit addresses of loopback interfaces on PEs and P. The loopback interface addresses are the LSR
IDs. The configuration procedure is not mentioned here.
After the configuration, run the
display ip routing-table
command on each LSR. You can view
that the LSRs have learned the routes from each other.
Take the display on PE1 for example:
<PE1>
display ip routing-table
Route Flags: R - relied, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
Destinations : 11 Routes : 11
Destination/Mask Proto Pre Cost Flags NextHop Interface
1.1.1.9/32 Direct 0 0 D 127.0.0.1 InLoopBack0
2.2.2.9/32 OSPF 10 2 D 168.1.1.2 Vlanif20
3.3.3.9/32 OSPF 10 3 D 168.1.1.2 Vlanif20
127.0.0.0/8 Direct 0 0 D 127.0.0.1 InLoopBack0
Quidway S7700 Smart Routing Switch
Configuration Guide - VPN
5 VLL Configuration
Issue 01 (2011-07-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
515