Step 7
Query the configuration result.
l
Run the
display cfm
command to query the configuration information about the CFM
globally.
l
Run the
display cfm mep
command to query the configuration information about an MEP.
----End
Example
Assume that:
l
MA5616_A: VLAN 10 is associated with the MA; the MEP port is 0/0/0; the local MEP
is 0/0/1; the remote MEP is 0/0/2; the name of the object managed by the MA is huawei-1;
the name of the object managed by the MD is huawei; the level of the object managed by
the MD is 7.
l
MA5616_B: VLAN 10 is associated with the MA; the MEP port is 0/0/0; the local MEP
is 0/0/2; the remote MEP is 0/0/1; the name of the object managed by the MA is huawei-1;
the name of the object managed by the MD is huawei; the level of the object managed by
the MD is 7.
Configure
MA5616_A
huawei(config)#
vlan 10 smart
//
Create a VLAN that is associated with the MA.
huawei(config)#
port vlan 10 0/0 0
huawei(config)#
cfm md 0 name-format string huawei level 7
huawei(config)#
cfm ma 0/0 name-format string huawei-1
huawei(config)#
cfm ma 0/0 vlan 10
//
Configure the VLAN to be associated with the
MA.
huawei(config)#
cfm ma 0/0 meplist 1
//
Configure the MEP list of the MA.
huawei(config)#
cfm ma 0/0 meplist 2
huawei(config)#
cfm mep 0/0/1 direction down port 0/0/0
huawei(config)#
cfm enable
//
Enable the local CFM function globally.
huawei(config)#
cfm remote-mep-detect enable
//
Enable the remote CFM function.
huawei(config)#
save
To query the configuration information about the MA, do as follows:
huawei(config)#
display cfm ma 0/0
-----------------------------------------------------------------------
MA Index : 0/0
MA NameType : string
MA Name : huawei-1
MA CC Interval : 1m
MA Remote-mep-detect : enable
MA VlanID : 10 //
VLAN 10 associated with the MA.
MHF Creation : defer-mhf
MEP List : 1,2
-----------------------------------------------------------------------
To query the configuration information about the MD, do as follows:
huawei(config)#
display cfm md 0
-----------------------------------------------------------------------
MD Index : 0
MD NameType : string
MD Name : huawei
MD Level : 7
MHF Creation : no-mhf
-----------------------------------------------------------------------
To query the configuration information about the MEP, do as follows:
huawei(config)#
display cfm mep mdindex/maindex/mepid 0/0/1
-----------------------------------------------------------------------
MEP : 0/0/1
MEP Direction : down
MEP Port : 0/0/0
SmartAX MA5616 Multi-service Access Module
Configuration Guide
4 Configuring the Ethernet CFM OAM
Issue 04 (2011-10-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
155