200.2.1.0/30 OSPF 10 2 D 200.1.1.2 Vlanif30
255.255.255.255/32 Direct 0 0 D 127.0.0.1 InLoopBack0
Step 3
Configure the basic MPLS capabilities on the MPLS backbone network.
# Enable MPLS, and set LSR-ID as the IP address of the Loopback1 interface. Enable MPLS
and MPLS LDP on interfaces on the backbone network.
# Configure PE1.
[PE1]
mpls lsr-id 1.1.1.1
[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
[PE1]
interface vlanif 30
[PE1-Vlanif30]
mpls
[PE1-Vlanif30]
mpls ldp
[PE1-Vlanif30]
quit
# The configuration procedures of P1, P2, PE2, and PE3 are the same as the configuration
procedure of PE1 and are not mentioned.
After the configuration, run the
display tunnel-info all
command on PEs. You can see that
MPLS LSPs are set up between PE1 and PE2, and between PE1 and PE3.
Take the display on PE1 for example.
<PE1>
display tunnel-info all
* -> Allocated VC Token
Tunnel ID Type Destination Token
----------------------------------------------------------------------
0x10020 lsp 2.2.2.2 0
0x10021 lsp -- 1
0x10022 lsp 3.3.3.3 2
0x10023 lsp -- 3
0x10024
lsp 4.4.4.4 4
0x10025 lsp -- 5
0x10026
lsp 5.5.5.5 6
0x10027 lsp -- 7
Run the
display mpls ldp session
command on PE, and you can see that the LDP peer relation
between the PE and the neighboring P is in Operational state.
Take the display on PE1 for example.
<PE1>
display mpls ldp session
LDP Session(s) in Public Network
Codes: LAM(Label Advertisement Mode), SsnAge Unit(DDDD:HH:MM)
A '*' before a session means the session is being deleted.
------------------------------------------------------------------------------
Peer-ID Status LAM SsnRole SsnAge KA-Sent/Rcv
------------------------------------------------------------------------------
2.2.2.2:0
Operational
DU Passive 0000:00:03 16/16
3.3.3.3:0
Operational
DU Passive 0000:00:03 13/13
------------------------------------------------------------------------------
TOTAL: 2 session(s) Found.
Step 4
Set up a remote LDP session between PEs.
# Configure remote LDP sessions and set their IP addresses as the addresses of the loopback
interfaces on LDP remote peers.
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.
623