The delay-measure two-way delay-threshold command sets alarm thresholds for two-way frame delay in proactive two-way frame delay measurement.
The undo delay-measure two-way delay-threshold command deletes the alarm thresholds of two-way frame delay in proactive two-way frame delay measurement.
By default, no alarm thresholds are set for two-way frame delay in proactive two-way frame delay measurement.
delay-measure two-way delay-threshold mep mep-id upper-limit upper-limit lower-limit lower-limit [ 8021p 8021p-value ]
delay-measure two-way delay-threshold test-id test-id-value upper-limit upper-limit lower-limit lower-limit
undo delay-measure two-way delay-threshold mep mep-id [ upper-limit upper-limit lower-limit lower-limit ] [ 8021p 8021p-value ]
undo delay-measure two-way delay-threshold test-id test-id-value [ upper-limit upper-limit lower-limit lower-limit ]
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 two-way frame delay measurement. |
The value is an integer ranging from 0 to 7. This parameter applies to VLL scenarios. |
test-id test-id-value |
Specifies the ID of a test instance. |
The value is an integer ranging from 1 to 4294967295. |
mep mep-id |
Specifies the ID of a MEP. |
The value is an integer in the range 1 to 8191. |
Usage Scenario
When proactive two-way frame delay measurement is used to measure the delay and evaluate the quality of links between MEPs, run the delay-measure two-way delay-threshold command to set the upper and lower threshold for delay statistics. If thresholds are set on a specified MEP and the link delay exceeds the upper threshold, an alarm is generated to alert a network administrator to adjust links to ensure service quality. If thresholds are set in a specified instance, the link delay exceeds the upper threshold or is lower than the lower threshold, the number of threshold-crossing events is counted. The display y1731 period-data command displays the number of threshold-crossing times.
Prerequisites
The cfm md command has been executed to configure an MD. The ma command has been executed to configure an MA.
Precautions
This command applies to VLAN, VSI, and VLL scenarios.
[~HUAWEI] mpls [~HUAWEI-mpls] quit [~HUAWEI] mpls l2vpn [~HUAWEI-l2vpn] quit [~HUAWEI] interface GigabitEthernet0/1/17.1 [*HUAWEI-GigabitEthernet0/1/17.1] vlan-type dot1q 1 [*HUAWEI-GigabitEthernet0/1/17.1] mpls l2vc 2.2.2.2 1001 [*HUAWEI-GigabitEthernet0/1/17.1] quit [*HUAWEI] cfm enable [*HUAWEI] cfm md md1 [*HUAWEI-md-md1] ma ma2 [*HUAWEI-md-md1-ma-ma2] map mpls l2vc 2.2.2.2 1001 tagged [*HUAWEI-md-md1-ma-ma2] mep mep-id 1 interface GigabitEthernet0/1/17.1 inward [*HUAWEI-md-md1-ma-ma2] delay-measure two-way delay-threshold mep 1 upper-limit 400 lower-limit 200 8021p 1