
[SwitchB]
oam-mgr
[SwitchB-oam-mgr]
oam-bind cfm md md1 ma ma1 cfm md md1 ma ma2
[SwitchB-oam-mgr]
quit
Step 5
Verify the configuration.
Shut down Eth 0/0/2 of Switch B. Run the
display cfm remote-mep
command on Switch A to
check the CFM status between Switch A and Switch B, and you can find that the CFM status is
Down.
[SwitchA]
display cfm remote-mep
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 :
down
Alarm Status : RemoteAlarms
----End
Configuration Files
l
Configuration file of Switch A
#
sysname SwitchA
#
vlan batch 10
#
cfm enable
#
interface Ethernet0/0/1
port link-type trunk
port trunk allow-pass vlan 10
#
cfm md md1
ma ma1
map vlan 10
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
#
return
l
Configuration file of Switch B
#
sysname SwitchB
#
vlan batch 10 20
#
cfm enable
#
interface Ethernet0/0/1
port link-type trunk
port trunk allow-pass vlan 10
#
interface Ethernet0/0/2
port link-type trunk
port trunk allow-pass vlan 20
#
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.
246