
[SwitchA-md-md1-ma-ma1]
remote-mep ccm-receive mep-id 2 enable
[SwitchA-md-md1-ma-ma1]
quit
[SwitchA-md-md1]
quit
# Configure Switch B.
[SwitchB]
cfm md md1
[SwitchB-md-md1]
ma ma1
[SwitchB-md-md1-ma-ma1]
mep mep-id 2 interface ethernet 0/0/1 outward
[SwitchB-md-md1-ma-ma1]
remote-mep mep-id 1
[SwitchB-md-md1-ma-ma1]
mep ccm-send mep-id 2 enable
[SwitchA-md-md1-ma-ma1]
remote-mep ccm-receive mep-id 1 enable
[SwitchB-md-md1-ma-ma1]
quit
[SwitchB-md-md1]
quit
Step 5
Set the alarm threshold for the two-way frame delay measurement to 1000 on Switch A.
[SwitchA]
cfm md md1
[SwitchA-md-md1]
ma ma1
[SwitchA-md-md1-ma-ma1]
delay-measure two-way threshold 1000
[SwitchA-md-md1-ma-ma1]
quit
[SwitchA-md-md1]
quit
Step 6
Configure the two-way frame delay measurement in a VLAN.
# Configure Switch A.
[SwitchA]
cfm md md1
[SwitchA-md-md1]
ma ma1
[SwitchA-md-md1-ma-ma1]
delay-measure one-way remote-mep mep-id 2 interval 10000
count 10
[SwitchA-md-md1-ma-ma1]
quit
[SwitchA-md-md1]
quit
# Configure Switch B.
[SwitchB]
cfm md md1
[SwitchB-md-md1]
ma ma1
[SwitchB-md-md1-ma-ma1]
delay-measure one-way receive
[SwitchB-md-md1-ma-ma1]
quit
[SwitchB-md-md1]
quit
Step 7
Verify the configuration.
# After the configuration, run the
display y1731 statistics-type oneway-delay md md1 ma
ma1
command, and you can view the statistics about the one-way frame delay.
[SwitchB]
display y1731 statistic-type oneway-delay md md1 ma ma1
01 1DM received Delay: 41640 usec Delay variation: 0 usec
02 1DM received Delay: 43501 usec Delay variation: 1861 usec
03 1DM received Delay: 8787 usec Delay variation: 34714 usec
04 1DM received Delay: 43335 usec Delay variation: 34548 usec
05 1DM received Delay: 43333 usec Delay variation: 2 usec
06 1DM received Delay: 33993 usec Delay variation: 9340 usec
07 1DM received Delay: 43321 usec Delay variation: 9328 usec
08 1DM received Delay: 33511 usec Delay variation: 9810 usec
09 1DM received Delay: 21293 usec Delay variation: 12218 usec
10 1DM received Delay: 51967 usec Delay variation: 30674 usec
--- Delay measurement statistics ---
Packets transmitted: 10, Valid packets received: 10
Average delay: 36468 usec
, Average delay variation: 15832 usec
Best case delay: 8787 usec, Worst case delay: 51967 usec
----End
Quidway S3700 Series Ethernet Switches
Configuration Guide - Reliability
5 ITU-T Recommendation Y.1731 Configuration
Issue 01 (2011-10-26)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
275