Data Preparation
To complete the configuration, you need the following data:
l L2VC IDs on U-PE1 and U-PE2, which must be different
l MPLS LSR-IDs of U-PE1, S-PE, and U-PE2
l IP address of the remote peer
l Encapsulation type of the switching PW
l Name and parameters of the PW template on U-PE devices
Procedure
Step 1 Configure a dynamic multi-hop PW.
Configure a dynamic multi-hop PW on the MPLS backbone network.
For the detailed configuration procedure, see "PWE3 Configuration" in the Quidway S5700
Series Ethernet Switches Configuration Guide - VPN.
Step 2 Configure a PWE3 Ping test on a multi-hop PW.
# Configure U-PE1.
<U-PE1> system-view
[U-PE1] nqa test-instance test pwe3ping
[U-PE1-nqa-test-pwe3ping] test-type pwe3ping
[U-PE1-nqa-test-pwe3ping] local-pw-id 100
[U-PE1-nqa-test-pwe3ping] local-pw-type ppp
[U-PE1-nqa-test-pwe3ping] label-type control-word
[U-PE1-nqa-test-pwe3ping] remote-pw-id 200
Step 3 Perform the test.
[U-PE1-nqa-test-pwe3ping] start now
Step 4 Verify the test result.
After running the display nqa results command on the PE device, you can see that the test is
successful.
[U-PE1-nqa-test-pwe3ping] display nqa results
NQA entry(test, pwe3ping) :testFlag is inactive ,testtype is pwe3ping
1 . Test 1 result The test is finished
Send operation times: 3 Receive response times: 3
Completion:success OverThresholds number: 0
Attempts number:1 Drop operation number:0
Disconnect operation number:0 Operation timeout number:0
System busy operation number:0 Connection fail number:0
Operation sequence errors number:0 RTT Stats errors number:0
Min Positive Jitter: 0 Min Negative Jitter: 0
Max Positive Jitter: 0 Max Negative Jitter: 0
Positive Jitter Num: 0 Negative Jitter Num: 0
Positive Jitter Sum: 0 Negative Jitter Sum: 0
Positive Jitter Square Sum: 0 Negative Jitter Square Sum: 0
Packet Loss: 0 Packet Loss Ratio: 0
Destination ip address:40.1.1.2
Min/Max/Average Completion Time: 60/110/86
Sum/Square-Sum Completion Time: 260/23800
Average Single-Way Completion Time: 30
Last Good Probe Time: 2008-9-29 14:38:48.2
----End
Quidway S5700 Series Ethernet Switches
Configuration Guide - Network Management 6 NQA Configuration
Issue 01 (2011-10-26) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
370