The display cfm mp-info command displays information about the CFM objects on a specified interface or VLAN or in a specified VSI.
Parameter | Description | Value |
---|---|---|
interface interface-type interface-number |
Specifies the type and number of an interface. The interface type can be Ethernet, Eth-Trunk, or GE. |
- |
level md-level |
Specifies the level of an MD. |
The value is an integer ranging from 0 to 7. The default value is 0. |
inward |
Indicates an inward-facing MEP that sends 802.1ag packets through all interfaces (except the interface on which the MEP resides) in the VLAN associated with the MA. That is, an inward-facing MEP broadcasts 802.1ag packets in the VLAN associated with the MA. |
- |
outward |
Indicates an outward-facing MEP that sends 802.1ag packets through the interface on which the MEP resides. |
- |
vlan vlanid |
Specifies the ID of a VLAN. |
The value is an integer ranging from 1 to 4094. |
vsi vsi-name |
Specifies the name of a VSI. |
The value is a string of 1 to 31 case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string. |
no-associated-vlan |
Indicates an MP that is not associated with a specified VLAN. |
- |
mpls |
Displays CFM information in a specified Multiprotocol Label Switching Layer 2 Virtual Circuit (MPLS L2VC). |
- |
l2vc l2vc-id |
Displays CFM information in a specified Multiprotocol Label Switching Layer 2 Virtual Circuit (MPLS L2VC). |
The value is an integer ranging from 1 to 4294967295. |
peer-ip-value |
Specifies the IP address. |
The value is in dotted decimal notation. |
raw |
Indicates the raw Virtual Leased Line (VLL) packet encapsulation that enables a device to remove VLAN tags from packets. |
- |
tagged |
Indicates the tagged VLL packet encapsulation that enables a device to add VLAN tags to packets. |
- |
Usage Scenario
Multiple MEPs can be configured on an interface, and multiple MIPs can be generated. However, the levels of the MEPs or MIPs must be the same. If MEPs are incorrectly configured, a CCM leak occurs or LBR or LTR messages cannot be correctly sent. You can run the display cfm mp-info command to view information about the CFM objects on an interface to obtain the relationship between MPs on the interface, which helps you configure MEPs correctly.
Prerequisites
CFM has been globally enabled using the cfm enable command in the system view.
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display cfm mp-info The total number of MPs is : 1 The number of MEPs is : 1. The number of MIPs is : 0. -------------------------------------------------- MD Name : md2 MD Name Format : no-md-name Level : 4 MA Name : qinq MEP ID : 1 VLAN ID : -- VSI Name : -- L2VC ID : -- L2VPN Name : -- CE ID : -- CE Offset : -- L2TPV3 Tunnel Name : untag L2TPV3 Local Connection Name : -- Interface Name : Gigabitethernet0/1/2.53 CCM Send : enabled Direction : outward MAC Address : 00e0-fc12-7890 MEP Pe-vid : -- MEP Ce-vid : -- MEP Vid : -- Alarm Status : LOC Alarm AIS : enabled Alarm RDI : enabled
Item | Description |
---|---|
The total number of MPs is | the total number of MPs. |
The number of MIPs is | The number of MIP. |
The number of MEPs is | The number of MEP. |
MD Name | Name of the MD. |
MD Name Format | Format of the MD name:
|
Level | Level of the MD, MA, or MP. The value ranges from 0 to 7. A larger level indicates a higher priority. |
MA Name | the name of ma. |
MEP ID | ID of the MEP. |
MEP Pe-vid | Outer tag of the VLAN frame. |
MEP Ce-vid | Inner tag of the VLAN frame. |
MEP Vid | VLAN ID of the VLAN frame. |
VLAN ID | ID of the VLAN associated with the MA. |
VSI Name | Name of the VSI associated with the MA. |
L2VC ID | ID of the L2VC associated with the MA. |
L2VPN Name | Name of the L2VPN associated with the MA. |
CE ID | ID of the local CE associated with the MA. |
CE Offset | ID of the remote CE associated with the MA. |
L2TPV3 Tunnel Name | Name of the L2TPv3 tunnel. |
L2TPV3 Local Connection Name | Name of the L2TPv3 local connection. |
Interface Name | Name of the interface. |
CCM Send | Whether the function of sending CCMs is enabled:
|
Direction | Type of the MEP:
|
MAC Address | MAC address of the MP. An MP's MAC address can be a bridge MAC address or the MAC address of the interface on which the MP resides, depending on the configured MP MAC address model:
|
Alarm Status | Alarm status. |
Alarm AIS | Whether the AIS alarm function is enabled. |
Alarm RDI | Whether the RDI alarm function is enabled. |