The iplpm loss-measure color-flag command configures the color bit used in device-level packet loss measurement.
The undo iplpm loss-measure color-flag command restores the default color bit used in device-level packet loss measurement.
By default, bit 0 in the Flags field is used as the color bit for device-level packet loss measurement. The default configuration is recommended.
iplpm loss-measure color-flag { tos-bit tos-bit | flags-bit0 }
undo iplpm loss-measure color-flag
Parameter | Description | Value |
---|---|---|
tos-bit tos-bit | Specifies bit 6 or 7 in the ToS field of IP packets as the color bit for device-level packet loss measurement. | The value is 6 or 7. |
flags-bit0 | Specifies bit 0 in the Flags field of IP packets as the color bit for device-level packet loss measurement. | - |
Usage Scenario
Device-level packet loss measurement contains measurement on the entire device and direct link. Before deploying Packet Conservation Algorithm for Internet (iPCA) to implement device-level packet loss measurement, run this command to configure the color bit. You can select a color bit according to the actual situation and network planning.
Precautions
Before changing the color bit for device-level packet loss measurement, run the undo iplpm global loss-measure enable command in the system view to disable device-level packet loss measurement. If packet loss measurement is configured on the direct link, run the undo iplpm link loss-measure enable command in the interface view to disable packet loss measurement on the direct link and ensure that the color bits on both devices of the direct link are changed to be the same.
When both network-level and device-level packet loss measurements are enabled on a device, the color bits must be differentiated.