mpls oam ingress loss-measure oam-packet loss-ratio

Function

The mpls oam ingress loss-measure oam-packet loss-ratio command configures alarm thresholds on the ingress of an LSP for the OAM packet loss ratio.

By default, the alarm threshold for the OAM packet loss ratio on the ingress of an LSP is zero.

Format

mpls oam ingress loss-measure oam-packet loss-ratio threshold1 threshold1-value threshold2 threshold2-value { tunnel-type tunnel-number | tunnel-name }

mpls oam ingress loss-measure oam-packet loss-ratio { threshold1 threshold1-value | threshold2 threshold2-value } { tunnel-type tunnel-number | tunnel-name }

Parameters

Parameter Description Value
threshold2 threshold2-value

Configures alarm threshold 2.

The value is an integer ranging from 0 to 100, in percentage.

tunnel-type tunnel-number

Specifies the tunnel type and number.

-

tunnel-name

Specifies the name of a tunnel.

The value is a string of 1 to 63 characters.

threshold1 threshold1-value

Configures alarm threshold 1.

The value is an integer ranging from 0 to 100, in percentage.

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
tpoam write

Usage Guidelines

Usage Scenario

Far-end frame loss: indicates the number and percentage of dropped frames that are sent from a MEP to an RMEP.

Configuration Impact

After the mpls oam bidirectional-tunnel loss-measure oam-packet loss-ratio command is run, the system detects the packet loss ratio. If the packet loss ratio exceeds a specified alarm threshold, SD1-NEAR or SD2-NEAR alarms are reported. When an alarm is generated, APS is triggered on the protection ring. After the alarm is cleared, an APS switchback is triggered.

Precautions

You must configure alarm thresholds based on the actual link status.

Example

# Set threshold1 to 50 and threshold2 to 80 for the OAM packet loss ratio on the ingress of an LSP.
<HUAWEI> system-view
[~HUAWEI] mpls
[*HUAWEI-mpls] mpls oam
[*HUAWEI-mpls] quit
[*HUAWEI] mpls oam Ingress loss-measure oam-packet loss-ratio threshold1 50 threshold2 80 tunnel 1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >