The loss-measure dual-ended remote-ratio-threshold command sets alarm thresholds for the far-end frame loss rate in proactive dual-ended frame loss measurement.
The undo loss-measure dual-ended remote-ratio-threshold command deletes alarm thresholds of the far-end frame loss rate in proactive dual-ended frame loss measurement.
By default, no alarm threshold is set for the far-end frame loss rate in proactive dual-ended frame loss measurement.
Parameter | Description | Value |
---|---|---|
upper-limit upper-limit |
Specifies the upper threshold of the far-end frame loss rate. |
The value is a string of 1 to 8 case-insensitive characters, spaces not supported. |
lower-limit lower-limit |
Specifies the lower threshold of the far-end frame loss rate. |
The value is a string of 1 to 8 case-insensitive characters, spaces not supported. The lower threshold must be less than or equal to the upper threshold. |
mep mep-id |
Specifies the ID of a MEP. |
The value is an integer ranging from 1 to 8191. |
Usage Scenario
Ethernet frame loss measurement (ETH-LM) enables a local MEP and its RMEP to exchange ETH-LM frames to collect frame loss statistics on E2E links. ETH-LM modes are classified into near-end ETH-LM and far-end ETH-LM. Near-end ETH-LM applies to an inbound interface, and far-end ETH-LM applies to an outbound interface on a MEP. ETH-LM counts errored frame seconds to determine the duration for which a link is unavailable.
The loss-measure dual-ended remote-ratio-threshold command sets upper and lower thresholds for the far-end frame loss rate in proactive dual-ended frame loss measurement. If the far-end frame loss rate exceeds the set upper threshold, an alarm is generated and sent to the NMS. A network administrator uses the alarm information to rectify the fault and ensure service quality.Prerequisites
The cfm md command has been executed to configure an MD. The ma command has been executed to configure an MA.
<HUAWEI> system-view [~HUAWEI] mpls [*HUAWEI-mpls] quit [*HUAWEI] mpls l2vpn [*HUAWEI-l2vpn] quit [*HUAWEI] interface GigabitEthernet 0/1/1 [*HUAWEI-GigabitEthernet0/1/1] undo shutdown [*HUAWEI-GigabitEthernet0/1/1] mpls l2vc 2.2.2.2 100 [*HUAWEI-GigabitEthernet0/1/1] quit [*HUAWEI] cfm enable [*HUAWEI] cfm md md1 [*HUAWEI-md-md1] ma ma1 [*HUAWEI-md-md1-ma-ma1] map mpls l2vc 2.2.2.2 100 raw [*HUAWEI-md-md1-ma-ma1] mep mep-id 1 interface GigabitEthernet0/1/1 inward [*HUAWEI-md-md1-ma-ma1] test-id 1 mep 1 mac 00e0-fc12-7890 [*HUAWEI-md-md1-ma-ma1] mep ccm-send mep-id 1 enable [*HUAWEI-md-md1-ma-ma1] remote-mep mep-id 2 [*HUAWEI-md-md1-ma-ma1] remote-mep ccm-receive mep-id 2 enable [*HUAWEI-md-md1-ma-ma1] test-id 10 mep 1 remote-mep 2 [*HUAWEI-md-md1-ma-ma1] commit [~HUAWEI-md-md1-ma-ma1] loss-measure dual-ended remote-ratio-threshold mep 1 upper-limit 72.4 lower-limit 60.1150