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.
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 }
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. |
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.