The color-mode command enables the color mode for NQA test flows and specifies the mapping between 802.1p or DSCP priority values and colors.
The undo color-mode command disables the color mode for an NQA test flow.
By default, the color mode is disabled for NQA test flows.
Parameter | Description | Value |
---|---|---|
8021p |
Indicates the 802.1p priority. |
- |
green begin-dscp-value |
Specifies the DSCP priority start value for green packets. |
The value is an integer ranging from 0 to 63. |
green begin-8021p-value |
Specifies the 802.1p priority start value for green packets. |
The value is an integer ranging from 0 to 7. |
end-8021p-value |
Specifies the 802.1p priority end value. |
The value is an integer ranging from 0 to 7. |
yellow begin-dscp-value |
Specifies the DSCP priority start value for yellow packets. |
The value is an integer ranging from 0 to 63. |
yellow begin-8021p-value |
Specifies the 802.1p priority start value for yellow packets. |
The value is an integer ranging from 0 to 7. |
dscp |
Indicates the end DSCP . |
- |
end-dscp-value |
Specifies the end DSCP priority value. |
The value is an integer ranging from 0 to 63. |
Usage Scenario
Application-specific frames in the same test instance can be colored based on performance sensitivities. For example, voice traffic requires a low packet loss ratio and a short delay, and therefore, voice frames are marked green. Files using transfer protocols, for example, TCP, have a low sensitivity of transmission issues. Therefore, file frames are marked yellow. To enable the color mode and specify the mapping between packet priorities and colors, run the color-mode command on the initiator of an Ethernet service activation test. This command allows services with colors to be processed based on mapped priorities on a carrier network.
After this command is run, you can view the performance indicators of packets marked in different colors, including the delay, jitter, and packet loss rate, in the display nqa results command output. This command affects the EIR test and traffic policing test.Precautions
The same priority can be mapped to both yellow and green frames.
For the same test flow, a range can be specified only in one of the traffic-type, vlan, pe-vid, udp destination-port, and udp source-port commands. In addition, the difference between the start and end values cannot be more than 127, and the end value must be greater than the start value. The start and end addresses in a specified MAC or IP address range can contain only one different byte.