The color-flag loss-measure command configures the color bit used in network-level packet loss measurement.
The undo color-flag command restores the default color bit used in network-level packet loss measurement.
By default, bit 6 in the ToS field is used as the color bit for network-level packet loss measurement. The default configuration is recommended.
Parameter | Description | Value |
---|---|---|
tos-bit tos-bit | Specifies a bit in the range of bits 3 to 7 in the ToS field of IP packets as the color bit for network-level packet loss measurement. | The value is an integer that ranges from 3 to 7. |
flags-bit0 | Specifies bit 0 in the Flags field of IP packets as the color bit for network-level packet loss measurement. | - |
Usage Scenario
Before deploying Packet Conservation Algorithm for Internet (iPCA) to implement network-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.
Prerequisites
Global DCP has been enabled using the nqa ipfpm dcp command.
Precautions
All devices on a network must use the same color bit setting. When the DS field is used to provide differentiated service, it is not recommended that you configure bits 3-5 as color bits because the measurement result may be inaccurate.
When both network-level and device-level packet loss measurements are enabled on a device, the color bits must be differentiated.