
[SwitchA-md-md1-ma-ma1]
delay-measure two-way receive
[SwitchA-md-md1-ma-ma1]
delay-measure two-way mac 0018-82d1-b6bf 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 two-way receive
[SwitchB-md-md1-ma-ma1]
delay-measure two-way mac 0018-82d1-b6be interval 10000
count 10
[SwitchB-md-md1-ma-ma1]
quit
[SwitchB-md-md1]
quit
Step 6
Verify the configuration.
# After the configuration, run the
display y1731 statistics-type twoway-delay md md1 ma
ma1
command, and you can view the statistics about the two-way frame delay.
[Quidway]
display y1731 statistic-type twoway-delay md md1 ma ma1
01 DMR received from 0025-9e80-2494 Delay: 498 usec Variation: 0 us
ec
02 DMR received from 0025-9e80-2494 Delay: 508 usec Variation: 10 us
ec
--- Delay measurement statistics ---
Packets transmitted: 2, Valid packets received: 2
Average delay: 503 usec, Average delay variation: 10 usec
Best case delay: 498 usec, Worst case delay: 508 usec
----End
Configuration Files
l
Configuration file of Switch A
#
sysname SwitchA
#
vlan batch 2
#
cfm version standard
cfm enable
#
interface Ethernet0/0/1
port link-type trunk
port trunk allow-pass vlan 2
#
cfm md md1
ma ma1
map vlan 2
mep mep-id 1 interface Ethernet0/0/1 outward
mep ccm-send mep-id 1 enable
remote-mep mep-id 2
remote-mep ccm-receive mep-id 2 enable
delay-measure two-way threshold 1000
delay-measure two-way receive
#
return
l
Configuration file of Switch B
#
sysname SwitchB
#
vlan batch 2
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.
280