The loss-measure ratio-threshold command configures the packet loss alarm threshold and its clear alarm threshold.
The undo loss-measure ratio-threshold command restores the default packet loss alarm threshold and its clear alarm threshold.
By default, the packet loss alarm threshold and its clear alarm threshold are not configured, meaning that the system does not generate a packet loss alarm or clear alarm.
Parameter | Description | Value |
---|---|---|
upper-limit upper-limit |
Specifies the packet loss alarm threshold. |
The value is a string of 1 to 10 characters ranging from 0.000001 to 100, accurate to 6 decimal places, in percentage. |
lower-limit lower-limit |
Specifies the packet loss clear alarm threshold. |
The value is a string of 1 to 10 characters ranging from 0.000001 to 100, accurate to 6 decimal places, in percentage. The lower-limit must be less than or equal to upper-limit. |
Usage Scenario
An IP FPM statistical period is an interval between when a TLP counts the number of packets or bytes and when the TLP records the send and receive timestamps. The period can be set to 1s, 10s, 60s, or 600s. By default, the IP FPM statistical period is 10s.
To configure the packet loss alarm threshold and its clear alarm threshold, run the loss-measure ratio-threshold command. The conditions for alarm generation are as follows:Precautions
If the loss-measure ratio-threshold command is run more than once, the latest configuration overrides the previous one.
The loss-measure ratio-threshold command only configures the thresholds. The system generates a packet loss alarm or its clear alarm only when the packet loss alarm or its clear alarm function is enabled and the packet loss for five consecutive statistical periods reaches the configured alarm threshold or falls below the configured clear alarm threshold. This configuration cannot be deleted separately, if the device does not configure IPFPM license.