![Huawei Quidway NetEngine40E Скачать руководство пользователя страница 1001](http://html.mh-extra.com/html/huawei/quidway-netengine40e/quidway-netengine40e_configuration-manual-reliability_1694531001.webp)
[PE1-mpls-tp-meg-test]
cc send enable
[PE1-mpls-tp-meg-test]
cc receive enable
# Enable CC on PE3.
[PE3-mpls-tp-meg-test]
cc send enable
[PE3-mpls-tp-meg-test]
cc receive enable
Step 4
Configure an alarm threshold for packet loss measurement.
# Configure an alarm threshold for packet loss measurement on PE1.
[PE1-mpls-tp-meg-test]
lost-measure dual-ended loss-ratio threshold1 50
# Configure an alarm threshold for packet loss measurement on PE3.
[PE3-mpls-tp-meg-test]
lost-measure dual-ended loss-ratio threshold1 50
Step 5
Enable dual-ended LM.
# Enable dual-ended LM on PE1.
[PE1-mpls-tp-meg-test]
lost-measure dual-ended enable
[PE1-mpls-tp-meg-test]
return
# Enable dual-ended LM on PE3.
[PE3-mpls-tp-meg-test]
lost-measure dual-ended enable
[PE3-mpls-tp-meg-test]
return
Step 6
Verify the configuration.
Run the
display mpls-tp oam
command on PE1 to view statistics about packet loss ratios.
<PE1>
display mpls-tp oam meg test statistic-type lost-measure dual-ended
Dual-end loss measurement statistics:
Index Near-end lost frames Loss ratio Far-end lost frames Loss ratio
1 10 12.50% 10 12.50%
Max near-end lost frames:10,frame loss ratio:12.50%
Min near-end lost frames:10,frame loss ratio:12.50%
Average near-end lost frames:10,frame loss ratio:12.50%
Max far-end lost frames:10,frame loss ratio:12.50%
Min far-end lost frames:10,frame loss ratio:12.50%
Average far-end lost frames:10,frame loss ratio:12.50%
----End
Configuration Files
l
Configuration file of PE1
#
sysname PE1
#
mpls lsr-id 1.1.1.1
mpls
mpls te
#
mpls l2vpn
#
bidirectional static-cr-lsp ingress Tunnel1/0/0
forward nexthop 2.1.1.2 out-label 20 bandwidth ct0 10000
backward in-label 20
#
pw-template tpatoc
peer-address 3.3.3.3
control-word
tnl-policy tpatoc
#
interface Pos1/0/0
undo shutdown
HUAWEI NetEngine80E/40E Router
Configuration Guide - Reliability
9 MPLS-TP OAM Configuration
Issue 02 (2014-09-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
984