The delay-measure one-way delay-threshold command sets alarm thresholds for a one-way frame delay in proactive one-way frame delay measurement.
The undo delay-measure one-way delay-threshold command deletes the alarm thresholds configured for a one-way frame delay in proactive one-way frame delay measurement.
By default, no alarm threshold is set for a one-way frame delay in proactive one-way frame delay measurement.
Parameter | Description | Value |
---|---|---|
upper-limit upper-limit |
Specifies the upper threshold of two-way frame delay. |
The value is an integer ranging from 0 to 4294967295, in microseconds. |
lower-limit lower-limit |
Specifies the lower threshold of two-way frame delay. |
The value is an integer ranging from 0 to 4294967295, in microseconds. The lower threshold must be less than or equal to the upper threshold. |
8021p 8021p-value |
Specifies a priority of frames in proactive frame delay measurement. |
The value is an integer ranging from 0 to 7. |
mep mep-id |
Specifies the ID of a MEP. |
The value is an integer in the range 1 to 8191. |
Usage Scenario
The delay-measure one-way delay-threshold command can be used to set upper and lower thresholds for a one-way frame delay in proactive one-way frame delay measurement, which is used to measure unidirectional transmission delays for links between MEPs and monitor the quality of the links. If the delay on the links between MEPs exceeds the configured upper threshold, an alarm is generated and sent to the NMS. A network administrator uses the alarm information to rectify the fault that causes the delay and to ensure service quality.
Prerequisites
An MD, an MA, and a MEP have been created using the cfm md, ma, and mep mep-id commands, respectively.
<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] delay-measure one-way delay-threshold mep 1 upper-limit 400 lower-limit 200