Loopback1 - 3.3.3.9/32
P GigabitEthernet1/0/0 VLANIF 30 10.2.2.2/24
GigabitEthernet2/0/0 VLANIF 20 10.1.1.2/24
Loopback1 - 2.2.2.9/32
CE1 GigabitEthernet1/0/0 VLANIF 10 100.1.1.1/24
CE2 GigabitEthernet1/0/0 VLANIF 40 100.1.1.2/24
Configuration Roadmap
The configuration roadmap is as follows:
1. Enable MPLS and MPLS L2VPN.
2. Create a static L2VC connection between PEs and manually configure the VC label.
Data Preparation
To complete the configuration, you need the following data:
l Labels of the static L2VC connection
The out-label of PE1 is the same as the in-label of PE2; whereas the in-label of PE1 is the same
as the out-label of PE2.
Procedure
Step 1 Configure interface addresses for CE, PE and P according to Figure 5-6, including VLAN
interfaces and VLANIF interfaces.
The configuration procedure is not mentioned.
Step 2 Configure IGP on the MPLS backbone network. (In this example, OSPF is used.)
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.
Step 3 Configure basic MPLS functions and LDP on the MPLS backbone network. That is, set up LDP
LSPs.
# Configure PE1.
[PE1] mpls lsr-id 1.1.1.9
[PE1] mpls
[PE1-mpls] quit
[PE1] mpls ldp
[PE1-mpls-ldp] quit
[PE1] interface vlanif 20
[PE1-Vlanif20] mpls
[PE1-Vlanif20] mpls ldp
[PE1-Vlanif20] quit
# Configure the P.
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.
500