
[SwitchA]
cfm enable
# Create the MD, MA, MEP, and RMEP on Switch A.
[SwitchA]
cfm md md1
[SwitchA-md-md1]
ma ma1
[SwitchA-md-md1-ma-ma1]
map vlan 10
[SwitchA-md-md1-ma-ma1]
ccm-interval 1000
[SwitchA-md-md1-ma-ma1]
mep mep-id 2 interface ethernet 0/0/2 outward
[SwitchA-md-md1-ma-ma1]
remote-mep mep-id 1
[SwitchA-md-md1-ma-ma1]
mep ccm-send enable
[SwitchA-md-md1-ma-ma1]
remote-mep ccm-receive enable
[SwitchA-md-md1-ma-ma1]
quit
[SwitchA-md-md1]
quit
# Enable Ethernet CFM globally on Switch B.
[SwitchB]
cfm enable
# Create the MD, MA, MEP, and RMEP on Switch B.
[SwitchB]
cfm md md1
[SwitchB-md-md1]
ma ma1
[SwitchB-md-md1-ma-ma1]
map vlan 10
[SwitchB-md-md1-ma-ma1]
ccm-interval 1000
[SwitchB-md-md1-ma-ma1]
mep mep-id 1 interface ethernet 0/0/1 outward
[SwitchB-md-md1-ma-ma1]
remote-mep mep-id 2
[SwitchB-md-md1-ma-ma1]
mep ccm-send enable
[SwitchB-md-md1-ma-ma1]
remote-mep ccm-receive enable
[SwitchB-md-md1-ma-ma1]
quit
[SwitchB-md-md1]
quit
# Verify the configuration.
Run the
display cfm mep
and
display cfm remote-mep
commands on Switch A or Switch B.
If information about the MEP and RMEP is displayed, it indicates that the configuration is
successful. The displayed information on Switch B is as follows:
[SwitchB]
display cfm mep md md1
The total number of MEPs is : 1
--------------------------------------------------
MD Name : md1
Level : 0
MA Name : ma1
MEP ID : 1
Vlan ID : 10
VSI Name : --
Interface Name : Ethernet0/0/1
CCM Send : enabled
Direction : outward
[SwitchB]
display cfm remote-mep md md1
The total number of RMEPs is 1
MD Name : md1
Level : 0
MA Name : ma1
RMEP ID : 2
Vlan ID : 10
VSI Name : --
MAC : --
CCM Receive : enabled
Trigger-If-Down : disabled
CFM Status :
up
Alarm Status : RemoteAlarms
Step 3
Associate an Ethernet CFM module with an interface.
Associate an Ethernet CFM module with an interface on Switch A.
[SwitchA]
oam-mgr
[SwitchA-oam-mgr]
oam-bind cfm md md1 ma ma1 trigger if-down interface ethernet
Quidway S3700 Series Ethernet Switches
Configuration Guide - Reliability
4 Ethernet OAM Configuration
Issue 01 (2011-10-26)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
237