The color-flag command configures measurement flags.
The undo color-flag command restores the default measurement flags.
By default, the sixth bit in the type of service (ToS) field of the IPv4 packet header is used as the loss measurement flag; the seventh bit in the ToS field of the IPv4 packet header is used as the delay measurement flag. Using the default configurations is recommended.
Parameter | Description | Value |
---|---|---|
tos-bit tos-bit |
Specifies a bit from the third to seventh bits in the ToS field of the IPv4 packet header as a measurement flag. |
The value is an integer ranging from 3 to 7. |
flags-bit0 |
Specifies Bit 0 in the Flags field of the IPv4 packet header as a measurement flag. |
- |
delay-measure |
Indicates IP FPM delay measurement. |
- |
loss-measure |
Indicates IP Flow Performance Measurement (IP FPM) packet loss measurement. |
- |
none |
Indicates that no measurement flags are set. |
- |
Usage Scenario
Before using IP FPM to measure network performance, run the color-flag command to specify a bit as a measurement flag based on network planning.
Prerequisites
The nqa ipfpm dcp command has been run to enable DCP globally.
Precautions
The loss and delay measurement flags cannot use the same bit, and the bits used for loss and delay measurement must not have been used in other measurement tasks.
This configuration cannot be deleted separately, if the device does not configure IPFPM license.
The IP FPM measurement flag can be configured only in Admin-VS. Other VSs use the measurement flag configurations in Admin-VS. If the measurement flag configuration conflicts with the QoS configuration, modify the measurement flag configuration in Admin-VS.