Usage Scenario
When configuring packet loss ratio detection on the egress of an LSP, run the mpls oam egress lost-measure single-ended loss-ratio command to configure alarm thresholds. If the detected packet loss ratio exceeds a specified alarm threshold, an alarm is reported. Two alarm thresholds can be configured. If the packet loss ratio exceeds alarm threshold 1 but does not reach alarm threshold 2, alarms are reported based on alarm threshold 1. If the packet loss ratio exceeds alarm threshold 2, alarms are reported based on both alarm thresholds 1 and 2.
- Alarm threshold 1 can be set to a small value, and its associated alarms are informational only. If the packet loss ratio exceeds alarm threshold 1 but does not reach alarm threshold 2, LSP APS is not triggered. You can optimize the network to prevent LSP APS.
- Alarm threshold 2 must be set to a value greater than alarm threshold 1, and its associated alarms must be cleared. If the packet loss ratio exceeds alarm threshold 2, LSP APS is triggered.
Prerequisites
- MPLS and MPLS OAM have been enabled globally.
- The MPLS-OAM view has been displayed.
- The LSP that MPLS OAM monitors has been established.
Configuration Impact
After the mpls oam egress lost-measure single-ended loss-ratio command is run, the system detects the packet loss ratio on the egress of an LSP. If the packet loss ratio exceeds alarm threshold 1, an alarm is reported. If the packet loss ratio exceeds alarm threshold 2, an alarm is reported and LSP APS is triggered. After the alarm is cleared, an LSP APS switchback is triggered.
Precautions
You must configure alarm thresholds based on the actual link status.