< Home

display cfm remote-mep

Function

The display cfm remote-mep command displays information about RMEPs in a specified MD and MA.

Format

display cfm remote-mep md md-name ma ma-name mep-id mep-id

display cfm remote-mep [ md md-name [ ma ma-name ] ] [ cfm-state { up | down | disable } ]

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 RMEPs in all MDs and MAs on the device is displayed. The value is a string of 1 to 43 case-sensitive characters without spaces, hyphen (-), and question mark (?).
ma ma-name Displays information about RMEPs in a specified MA. ma-name specifies the name of the MA. If this parameter is not specified, information about RMEPs in all MAs in a specified MD is displayed. The value is a string of 1 to 43 case-sensitive characters without spaces, hyphen (-), and question mark (?).
mep-id mep-id Displays information about a specified RMEP. mep-id specifies the ID of the RMEP. The value is an integer that ranges from 1 to 8191.
cfm-state Displays RMEP information based on the CFM status. -
up Displays information about RMEPs in Up state. -
down Displays information about RMEPs in Down state. -
disable Displays information about RMEPs in disabled state. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

After an RMEP is configured or CFM cannot work properly, use the display cfm remote-mep command to check the RMEP configuration, including:
  • Name and level of the MD

  • Name of the MA and VLAN associated with the MA

  • ID of the RMEP

  • MAC address of the RMEP

  • Whether the MEP is enabled to receive CCMs from the RMEP

  • Alarm status

You can specify cfm-state to view RMEP information in the specified CFM state.

Example

# Display information about the RMEP with an ID of 50 in the MA named ma1 within the MD named md1.

<HUAWEI> display cfm remote-mep md md1 ma ma1 mep-id 50
 MD Name            : md1
 Level              : 0
 MA Name            : ma1
 RMEP ID            : 5
 VLAN ID            : --
 VSI Name           : --
 L2VC ID            : --
 MAC                : --
 CCM Receive        : enabled
 Trigger-If-Down    : enabled
 CFM Status         : down
 Alarm Status       : LOC
 Interface TLV      : --
 Connect Status     : up     

# Display information about all RMEPs in the MA named ma1 within the MD named md1.

<HUAWEI> display cfm remote-mep md md1 ma ma1
The total number of RMEPs is : 1
The status of RMEPs : 0 up, 1 down, 0 disable        
--------------------------------------------------
 MD Name            : md1
 Level              : 0
 MA Name            : ma1
 RMEP ID            : 5
 VLAN ID            : --
 VSI Name           : --
 L2VC ID            : --
 MAC                : --
 CCM Receive        : enabled
 Trigger-If-Down    : enabled
 CFM Status         : down
 Alarm Status       : LOC
 Interface TLV      : --
 Connect Status     : up     

# Display information about all RMEPs configured on the device.

<HUAWEI> display cfm remote-mep
The total number of RMEPs is : 1
The status of RMEPs : 0 up, 0 down, 1 disable        
--------------------------------------------------
 MD Name            : md
 Level              : 0
 MA Name            : ma
 RMEP ID            : 1
 VLAN ID            : --
 VSI Name           : --
 L2VC ID            : --
 MAC                : --
 CCM Receive        : disabled
 Trigger-If-Down    : disabled
 CFM Status         : disabled
 Alarm Status       : none
 Interface TLV      : --
 Connect Status     : up     

# Display information about all RMEPs in Down state.

<HUAWEI> display cfm remote-mep cfm-state down
The total number of RMEPs is : 2
The status of RMEPs : 0 up, 2 down, 0 disable        
--------------------------------------------------
 MD Name            : md
 Level              : 0
 MA Name            : ma
 RMEP ID            : 1111
 VLAN ID            : 1111
 VSI Name           : --
 L2VC ID            : --
 MAC                : --
 CCM Receive        : enabled
 Trigger-If-Down    : disabled
 CFM Status         : down
 Alarm Status       : none
 Interface TLV      : --
 Connect Status     : up     

 MD Name            : md1
 Level              : 0
 MA Name            : ma1
 RMEP ID            : 2
 VLAN ID            : 100
 VSI Name           : --
 L2VC ID            : --
 MAC                : 0044-0141-5410
 CCM Receive        : enabled
 Trigger-If-Down    : disabled
 CFM Status         : down
 Alarm Status       : LOC
 Interface TLV      : --
 Connect Status     : up     
Table 1 Description of the display cfm remote-mep command output

Item

Description

The total number of RMEPs is

Number of RMEPs.

MD Name

Name of the MD.

Level

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

MA Name

Name of the MA.

RMEP ID

ID of the RMEP.

VLAN ID

ID of the VLAN associated with an MA.

VSI Name

Name of the VSI associated with an MA.

L2VC ID

ID of the VC.

MAC

MAC address of the RMEP.

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

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

CCM Receive

Whether the MEP is enabled to receive CCMs from the RMEP:
  • disabled: The MEP is disabled from receiving CCMs from the RMEP.

  • enabled: The MEP is enabled to receive CCMs from the RMEP.

To configure the CCM reception function, run the remote-mep ccm-receive enable command.

Trigger-If-Down

Whether the block/unblock function is configured on the interface:
  • disable: indicates that the block/unblock function is disabled on the interface for the RMEP.

  • enable: indicates that the block/unblock function is enabled on the interface for the RMEP. When a MEP detects a connectivity fault between the MEP and the RMEP in the same MA, the system blocks the interface on which the MEP is configured and then unblocks it.

To configure the block/unblock function, run the cfm trigger if-down command.

CFM Status

CFM status:
  • up: indicates that CC works properly.

  • down: No MEP is configured on the device or the interface where the MEP is configured is unavailable. The reason why the interface is unavailable is one of the following: The subcard is not installed or has been restarted. The Eth-Trunk has no member interface or all member interfaces are Down.

  • disable: indicates that CFM is not configured, that is, the MEP is not enabled to send CCMs and the RMEP is not enabled to receive CCMs.

Alarm Status

CFM alarm status:
  • unexpectedPeriod: The interval carried in a CCM sent by the RMEP is different from that configured on the MEP.

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

  • LOC: The session is terminated.

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

  • RDI: The MEP receives CCMs with RDI.

  • none: No alarm is generated.

    NOTE:

    If the device is configured with no MEP but an RMEP, the CFM status is Down. However, no alarm is generated. That is, the field is none.

Interface TLV

Status of an interface type-length-value (TLV). The value can be:
  • - -: The default value is 0. No TLV status is available on the interface.

  • up: The interface status is Up, and the interface can transmit packets.

  • down: The interface status is Down, and the interface cannot transmit packets.

  • testing: The TLV status of the interface is testing.

  • unknown: The interface status is unknown.

  • dormant: The interface is blocked and is waiting for an external event.

  • notPresent: Information about the interface components is lost.

  • lowerLayerDown: The lower layer status of the interface is Down.

NOTE:
  • The packets carrying the interface TLV field with the value Up or Down can be sent.

  • The received packets carrying the interface TLV field with any value can be parsed.

Connect Status

The connect status of RMEP:
  • none: Detection is not started on the RMEP.

  • start: The RMEP is configured, but the remote device does not receive valid CCMs within the timeout period.

  • up: The physical link is working properly, and the remote device can receive correct CCMs.

  • down: The local device cannot receive correct CCMs.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >