Loopback1 - 1.1.1.9/32
PE2 GigabitEthernet1/0/0 VLANIF 30 10.2.2.1/24
GigabitEthernet2/0/0 VLANIF 40 -
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. Configure a bidirectional static LSP for the CCC connection between PEs. The LSP is
exclusively used by the CCC connection.
2. Enable MPLS L2VPN on the PEs. MPLS L2VPN need not be enabled on P.
3. Set up two connections: one from CE1 to CE2 and the other from CE2 to CE1.
Data Preparation
To complete the configuration, you need the following data:
l Out-label and in-label of the remote CCC connection
Pay attention to the mapping between the in-labels and out-labels on the PE and P. For the settings
of the out-label and the in-label, see Figure 5-5.
Procedure
Step 1 Configure the ID of the VLAN that each interface belongs to, as shown in Figure 5-5.
The configuration procedure is not mentioned here.
NOTE
The packets sent from CE to PE must have VLAN tags.
Step 2 Assign the IP addresses to the VLANIF interfaces on the CEs.
# Configure CE1.
[CE1] interface vlanif 10
[CE1-Vlanif10] ip address 100.1.1.1 24
[CE1-Vlanif10] quit
# Configure CE2.
[CE2] interface vlanif 40
[CE2-Vlanif40] ip address 100.1.1.2 24
[CE2-Vlanif40] quit
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.
494