
Step 2
Configure basic Ethernet CFM functions.
# Configure Switch A.
[SwitchA]
cfm version standard
[SwitchA]
cfm enable
[SwitchA]
cfm md md1
[SwitchA-md-md1]
ma ma1
[SwitchA-md-md1-ma-ma1]
map vlan 2
[SwitchA-md-md1-ma-ma1]
quit
[SwitchA-md-md1]
quit
# Configure Switch B.
[SwitchB]
cfm version standard
[SwitchB]
cfm enable
[SwitchB]
cfm md md1
[SwitchB-md-md1]
ma ma1
[SwitchB-md-md1-ma-ma1]
map vlan 2
[SwitchB-md-md1-ma-ma1]
quit
[SwitchB-md-md1]
quit
Step 3
Configure outward-facing MEPs.
# Configure Switch A.
[SwitchA]
cfm md md1
[SwitchA-md-md1]
ma ma1
[SwitchA-md-md1-ma-ma1]
mep mep-id 1 interface ethernet 0/0/1 outward
[SwitchA-md-md1-ma-ma1]
remote-mep mep-id 2
[SwitchA-md-md1-ma-ma1]
mep ccm-send mep-id 1 enable
[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 4
Set the alarm threshold for the two-way frame delay measurement to 1000.
# Configure 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
# Configure Switch B.
[SwitchB]
cfm md md1
[SwitchB-md-md1]
ma ma1
[SwitchB-md-md1-ma-ma1]
delay-measure two-way threshold 1000
[SwitchB-md-md1-ma-ma1]
quit
[SwitchB-md-md1]
quit
Step 5
Configure the two-way frame delay measurement in a VLAN.
# Configure Switch A.
[SwitchA]
cfm md md1
[SwitchA-md-md1]
ma ma1
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.
279