The loss-measure enable command enables statistics collection based on the time range for a measurement instance on a DCP.
The undo loss-measure enable command disables statistics collection for a measurement instance on a DCP.
By default, statistics collection based on the time range is disabled for a measurement instance on a DCP.
loss-measure enable [ mid-point ] [ time-range time-range ]
undo loss-measure enable [ [ mid-point ] time-range [ time-range ] ]
Parameter | Description | Value |
---|---|---|
mid-point | Enables on-demand packet loss measurement for mid-points. If this parameter is configured, on-demand packet loss measurement is enabled for all mid-points. If this parameter is not configured, on-demand packet loss measurement is enabled for all measurement points. NOTE:
The mid-point is only applied to hop-by-hop measurement. |
- |
time-range time-range | Specifies the time range for statistics collection. | The value is 5, 10, 15, or 30, in minutes. The default value is 10 minutes. |
Usage Scenario
The IP FPM performance statistics serve as a reliable reference for assessing IP network performance and therefore are useful for fault diagnosis and service statistics. To monitor on-demand packet loss performance in a specified period or diagnose network faults and locate faulty nodes when network performance deteriorates, run the loss-measure enable command.
Prerequisites
An IP FPM model has been established, including configuring a DCP and MCP, binding a TLP to a physical interface, and creating a target flow and IP FPM instance.
Precautions
This command is not recorded in the configuration file after being executed.
After device restart, statistics collection based on the time range becomes invalid, and needs to be reconfigured.
Statistics collection based on the time range and continual statistics collection cannot be enabled simultaneously.