< Home

display cfm mep

Function

The display cfm mep command displays information about a MEP in a specified MD and MA.

Format

display cfm mep [ md md-name [ ma ma-name [ mep-id mep-id ] ] ]

Parameters

Parameter Description Value

md md-name

Displays information about MEPs in a specified MD. md-name specifies the name of the MD. If this parameter is not specified, information about MEPs in all MDs and MAs on the device is displayed.

The value is a string of 1 to 43 case-sensitive characters without spaces, hyphens (-), and question marks (?).

ma ma-name

Displays information about MEPs in a specified MA. ma-name specifies the name of the MA. If this parameter is not specified, information about MEPs in all the MAs of a specified MD is displayed.

The value is a string of 1 to 43 case-sensitive characters without spaces, hyphens (-), and question marks (?).

mep-id mep-id

Displays information about a specified MEP. mep-id specifies the ID of the MEP.

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

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

After a MEP is configured or CFM cannot work properly, use the display cfm mep command to check the MEP configuration.

Example

# Display information about the MEP with an ID of 10 in the MA named ma1 of the MD named md1.

<HUAWEI> display cfm mep md md1 ma ma1 mep-id 10
 MD Name            : md1
 MD Name Format     : string
 Level              : 0
 MA Name            : ma1
 MEP ID             : 2
 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

# Display information about all MEPs in the MA named ma1 of the MD named md1.

<HUAWEI> display cfm mep md md1 ma ma1
The total number of MEPs is : 1             
--------------------------------------------------
 MD Name            : md1
 MD Name Format     : string
 Level              : 0
 MA Name            : ma1
 MEP ID             : 2
 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

# Display information about all MEPs in the MD named md1.

<HUAWEI> display cfm mep md md1
The total number of MEPs is : 2             
--------------------------------------------------
 MD Name            : md1
 MD Name Format     : string
 Level              : 0
 MA Name            : ma1
 MEP ID             : 2
 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
 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/2
 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 mep command output

Item

Description

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. The value ranges from 0 to 7. A higher level indicates a higher priority of the MD.

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

NOTE:

If the level of a MEP on an intermediate node is higher than or equal to that on the source node, run the cfm md command to decrease the level of the MEP on the intermediate node to be lower than that on the source node.

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.

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.

Interface Name

Interface where a MEP is configured. If a MEP is based on VLANIF interfaces, this field is displayed as --.

CCM Send

Whether the MEP is enabled to send CCMs:
  • enabled: The MEP is enabled to send CCMs.

  • disabled: The MEP is disabled from sending CCMs.

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

Direction

Type of the MEP:
  • inward: indicates an inward-facing MEP. An inward-facing MEP broadcasts 802.1ag packets in the VLAN associated with the MA, but does not send 802.1ag packets to the interface where the MEP is configured.

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

NOTE:

If the MEP direction is incorrect, run the mep mep-id command to configure a correct direction.

MAC Address

MAC address of the MEP.

MEP Pe-vid

Outer VLAN ID of the QinQ interface where the MEP is configured.

MEP Ce-vid

Inner VLAN ID of the QinQ interface where the MEP is configured.

MEP Vid

VLAN ID of the Dot1q interface where the MEP is configured.

Alarm Status

Alarm type:
  • unexpectedMEP: The MEP receives CCMs with an unexpected flag.

  • mismerge: The MEP ID in received CCMs is different from the configured MEP ID.

  • unexpectedPeriod: The interval in the received CCMs is different from the configured interval.

  • unexpectedMAC: The MEP MAC address in the received CCM is different from at least one MAC address of the RMEP.

  • LOC: At least one session between the MEP and an RMEP is terminated.

  • RDI: The MEP receives CCMs with the RDI.

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 >