The display cfm mp-info command displays information about CFM objects on a specified interface or in a VLAN.
display cfm mp-info [ interface interface-type interface-number ] [ level md-level ] [ inward | outward ] [ vlan vlanid | no-associated-vlan ]
Parameter | Description | Value |
---|---|---|
interface-type interface-number |
Displays CFM information on a specified interface.
|
- |
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. |
- |
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.
# 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
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:
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:
To set the parameter, run the mep ccm-send enable command. |
Direction |
Type of the MEP:
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:
|
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:
|
Alarm AIS |
Whether the alarm reporting function of a specific alarm indication signal (AIS) is enabled:
|
Alarm RDI |
Whether the alarm reporting function of a specific remote defect indication (RDI) is enabled:
|