0.00% packet loss
round-trip min/avg/max = 90/136/230 ms
Step 3
Enable MPLS and set up tunnels and LDP sessions.
Enable MPLS on the backbone network, set up LSPs and LDP remote sessions between the PEs.
The configuration procedure is not mentioned.
After the configuration, run the related command, and you can see that LDP sessions are set up
between PEs, and between each pair of PE and P, and the session status is Operational.
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.
------------------------------------------------------------------------------
PeerID Status LAM SsnRole SsnAge KASent/Rcv
------------------------------------------------------------------------------
192.3.3.3:0 Operational DU Passive 0000:00:04 18/18
192.4.4.4:0 Operational DU Passive 0000:00:05 21/21
------------------------------------------------------------------------------
TOTAL: 2 session(s) Found.
Step 4
Create a VC connection.
Enable MPLS L2VPN on PE1 and PE2; create a VC on each PE.
# Configure PE1.
[PE1]
mpls l2vpn
[PE1-l2vpn]
quit
[PE1]
interface vlanif 10
[PE1-Vlanif10]
mpls l2vc 192.3.3.3 100
[PE1-Vlanif10]
quit
# Configure PE2.
[PE2]
mpls l2vpn
[PE2-l2vpn]
quit
[PE2]
interface vlanif 30
[PE2-Vlanif30]
mpls l2vc 192.2.2.2 100
[PE2-Vlanif30]
quit
Step 5
Verify the configuration.
View information about the L2VPN connection on the PEs, and you can see that an L2VC is set
up and is in Up state.
Take the display on PE1 for example.
<PE1>
display mpls l2vc interface Vlanif 10
*client interface : Vlanif10 is up
Administrator PW : no
session state :
up
AC state :
up
VC state :
up
VC ID : 100
VC type : VLAN
destination : 192.3.3.3
local group ID : 0 remote group ID : 0
local VC label : 23552 remote VC label : 23552
local AC OAM State : up
local PSN State : up
local forwarding state : forwarding
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.
591