< Home

display cfm mp-info

Function

The display cfm mp-info command displays information about CFM objects on a specified interface or in a VLAN.

Format

display cfm mp-info [ interface interface-type interface-number ] [ level md-level ] [ inward | outward ] [ vlan vlanid | no-associated-vlan ]

Parameters

Parameter Description Value

interface-type interface-number

Displays CFM information on a specified interface.

  • interface-type specifies the interface type.

  • interface-number specifies the interface number.

-

level md-level

Specifies the level of an MD.

The value is an integer that ranges from 0 to 7. By default, the value is 0.

inward

Indicates the inward-facing MEP. An inward-facing MEP sends 802.1ag packets through all interfaces in a VLAN associated with an MA, except the interface on which the MEP is configured. That is, the inward-facing MEP broadcasts 802.1ag packets in the VLAN associated with the MA.

-

outward

Indicates the outward-facing MEP. An outward-facing MEP sends 802.1ag packets through an interface on which the MEP is configured.

-

vlan vlanid

Displays CFM information in a specified VLAN.

The value is an integer that ranges from 1 to 4094.

no-associated-vlan

Indicates the MP that is not associated with a VLAN.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

You can use the display cfm mp-info command to view information about CFM objects and the relationship between MPs on the interface so that you can configure MEPs correctly.

Prerequisites

CFM has been enabled globally using the cfm enable (system view) command.

Precautions

IEEE 802.1ag has two versions: IEEE 802.1ag Draft 7 and IEEE Standard 802.1ag-2007. This command can be used only on the device running IEEE Standard 802.1ag-2007.

Multiple MEPs can be configured and multiple MIPs can be generated on an interface; however, the levels of MEPs or MIPs must be the same. If the configuration is incorrect, CCM leak occurs or LBR or LTR messages cannot be sent correctly.

Example

# Display information about the specified interface, MD level, MEP type, and VLAN.

<HUAWEI> display cfm mp-info interface gigabitethernet 0/0/1
The total number of MPs is : 1              
The number of MEPs is : 1. The number of MIPs is : 0.              
-------------------------------------------------- 
 MD Name            : md1
 MD Name Format     : string
 Level              : 0
 MA Name            : ma2
 MEP ID             : 4
 VLAN ID            : --
 VSI Name           : --
 L2VC ID            : --
 Interface Name     : GigabitEthernet0/0/1
 CCM Send           : enabled
 Direction          : outward
 MAC Address        : 0002-0003-0161
 MEP Pe-vid         : --
 MEP Ce-vid         : --
 MEP Vid            : --
 Alarm Status       : LOC
 Alarm AIS          : enabled
 Alarm RDI          : enabled
Table 1 Description of the display cfm mp-info command output

Item

Description

Interface Name

Name of the interface.

MD Name

Name of the MD.

To set the name of the MD, run the cfm md command.

MD Name Format

Format of the MD name:
  • no-md-name
  • dns
  • mac-address
  • string

To set the format of the MD name, run the cfm md command.

Level

Level of the MD, MA, or MP. The value ranges from 0 to 7. A higher level indicates a higher priority.

To set the MD level, run the cfm md command.

MA Name

Name of the MA.

To set the name of the MA, run the ma command.

MEP ID

ID of the MEP.

To set the ID of the MEP, run the mep mep-id command.

CCM Send

Whether the MEP is enabled to send CCMs:
  • enabled
  • disabled

To set the parameter, run the mep ccm-send enable command.

Direction

Type of the MEP:
  • inward
  • outward

To set the type of the MEP, run the mep mep-id command.

VLAN ID

ID of the VLAN associated with an MA.

To set the ID of the VLAN associated with an MA, run the map command.

VSI Name

Name of the VSI associated with an MA.

L2VC ID

ID of the L2VC associated with an MA.

MAC Address

MAC address of the MEP or MIP.

NOTE:
An MP's MAC address can be a bridge MAC address or the MAC address of the interface where the MP is configured. The MAC address depends on the configured MP address model:
  • If the shared MP address model is configured, an MP uses a bridge MAC address as its own MAC address.

  • If the independent MP address model is configured, an MP uses the MAC address of the interface where the MP is configured.

MEP Pe-vid

VLAN ID in the outer tag of a VLAN frame.

MEP Ce-vid

VLAN ID in the inner tag of a VLAN frame.

MEP Vid

ID of a VLAN.

Alarm Status

Type of alarm:
  • unexpectedMEGLevel: The MD level carried in a CCM sent by the RMEP was different from that specified on the MEP.

  • unexpectedMEP: The trap about inconsistency between the MD level carried in a CCM sent by the RMEP and that specified on the MEP was cleared.

  • mismerge: An MD or MA name carried in a CCM sent by the RMEP was different from that specified on the MEP.

  • unexpectedPeriod: The CCM interval carried in a CCM sent by the RMEP was different from that specified on the MEP.

  • unexpectedMAC: The source MAC address carried in a CCM sent by the RMEP was different from the RMEP's MAC address specified on the MEP.

  • LOC: The MEP received no CCM in a period of time 3.5 times the interval at which CCMs were sent.

  • exceptionalMACstatus: TLV information carried in a CCM sent by the RMEP within a specified interval showed that the interface connecting the RMEP to the MEP became abnormal.

  • RDI: The RMEP sent a CCM carrying the RDI flag with the value of 1 to the MEP.

Alarm AIS

Whether the alarm reporting function of a specific alarm indication signal (AIS) is enabled:
  • enable
  • disable

Alarm RDI

Whether the alarm reporting function of a specific remote defect indication (RDI) is enabled:
  • enable
  • disable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >