l LSR IDs of the devices
l VC-ID of the PW
l BFD parameters
Procedure
Step 1 Configure interface addresses for CE, PE,and P according to Figure 6-17, including VLAN and
VLANIF interfaces.
The configuration procedure is not mentioned.
Step 2 Configure an IGP protocol on the MPLS backbone network.
The OSPF protocol is used in this example.
# Configure PE1.
[PE1] interface loopback 0
[PE1-Loopback0] ip address 1.1.1.9 32
[PE1-Loopback0] quit
[PE1] interface vlanif 20
[PE1-Vlanif20] ip address 100.1.1.1 30
[PE1-Vlanif20] quit
[PE1] ospf 1
[PE1-ospf-1] area 0
[PE1-ospf-1-area-0.0.0.0] network 1.1.1.9 0.0.0.0
[PE1-ospf-1-area-0.0.0.0] network 100.1.1.0 0.0.0.3
# Configure the P.
[P] interface loopback 0
[P-Loopback0] ip address 2.2.2.9 32
[P-Loopback0] quit
[P] interface vlanif 20
[P-Vlanif20] ip address 100.1.1.2 30
[P-Vlanif20] quit
[P] interface vlanif 40
[P-Vlanif40] ip address 100.2.1.1 30
[P-Vlanif40] quit
[P] ospf 1
[P-ospf-1] area 0
[P-ospf-1-area-0.0.0.0] network 2.2.2.9 0.0.0.0
[P-ospf-1-area-0.0.0.0] network 100.1.1.0 0.0.0.3
[P-ospf-1-area-0.0.0.0] network 100.2.1.0 0.0.0.3
# Configure PE2.
[PE2] interface loopback 0
[PE2-Loopback0] ip address 3.3.3.9 32
[PE2-Loopback0] quit
[PE2] interface vlanif 40
[PE2-Vlanif40] ip address 100.2.1.2 30
[PE2-Vlanif40] quit
[PE2] ospf 1
[PE2-ospf-1] area 0
[PE2-ospf-1-area-0.0.0.0] network 3.3.3.9 0.0.0.0
[PE2-ospf-1-area-0.0.0.0] network 100.2.1.0 0.0.0.3
After the configuration, run the display ip routing-table command on the PEs, and you can see
that PE1 and PE2 have learned the routes on the Loopback0 interface of each other.
Take the display on PE1 for example.
<PE1> display ip routing-table
Route Flags: R - relied, D - download to fib
------------------------------------------------------------------------------
Quidway S7700 Smart Routing Switch
Configuration Guide - VPN 6 PWE3 Configuration
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
637