CE2 GE1/0/0 VLANIF 103 10.3.1.2/30
GE2/0/0 VLANIF 104 10.4.1.2/30
GE3/0/0 VLANIF 1002 1.6.1.1/24
Configuration Roadmap
The configuration roadmap is as follows:
1. Configure BGP/MPLS IP VPN.
2. In the BGP view of CE1, enable load balancing for the traffic transmitted from CE1 to CE2.
3. Increase the MED value of the BGP-VPN route on PE3. In this way, CE2 selects PE4 as
the next hop to CE1.
Data Preparation
To complete the configuration, you need the following data:
l MPLS LSR-IDs of PEs and P devices
l VPN instances created on PE1 and PE2
l AS numbers of CE1 and CE2
Procedure
Step 1 Configure VLANs to which the interfaces belong according to Figure 3-15.
The configuration details are not mentioned here.
Step 2 Configure IGP on the MPLS backbone network so that PEs and P devices can interwork with
each other.
# Configure PE1.
# Assign IP addresses to interfaces. The IP address of a loopback interface must have a 32-bit
mask.
<PE1> system-view
[PE1] interface loopback 1
[PE1-LoopBack1] ip address 1.1.1.1 32
[PE1-LoopBack1] quit
[PE1] interface vlanif 10
[PE1-Vlanif10] ip address 100.1.1.1 30
[PE1-Vlanif10] quit
# Configure IS-IS to advertise routes on interfaces.
[PE1] isis 1
[PE1-isis-1] network-entity 10.0000.0000.0001.00
[PE1-isis-1] quit
[PE1] interface loopback 1
[PE1-LoopBack1] isis enable 1
[PE1-LoopBack1] quit
[PE1] interface vlanif 10
[PE1-Vlanif10] isis enable 1
[PE1-Vlanif10] quit
Quidway S7700 Smart Routing Switch
Configuration Guide - VPN 3 BGP MPLS IP VPN Configuration
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
278