The display cfm remote-mep command displays information about RMEPs in a specified MD and MA.
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 } ]
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. | - |
Usage Scenario
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.
# 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
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:
|
CCM Receive |
Whether 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:
To configure the block/unblock function, run the cfm trigger if-down command. |
CFM Status |
CFM status:
|
Alarm Status |
CFM alarm status:
|
Interface TLV |
Status of an interface type-length-value (TLV). The value
can be:
NOTE:
|
Connect Status |
The connect status of RMEP:
|