The host-packet dscp command configures mappings between DSCP values of protocol packets and internal priorities and between DSCP values and colors.
The undo host-packet dscp command deletes mappings between DSCP values of protocol packets and internal priorities and between DSCP values and colors.
By default, protocol packets enter the CS6 queue without the color during internal queue scheduling.
Parameter | Description | Value |
---|---|---|
dscp-value |
Sets the DSCP value of protocol packets. |
The value is an integer that ranges from 0 to 63. |
map |
Transform interior precedence to exterior precedence. |
- |
local-service cos-value |
Sets the internal priority. |
The value can be BF, AF1, AF2, AF3, AF4, EF, CS6, or CS7. |
color color |
Sets the color of the internal priority. |
The value can be green, yellow, or red. The default value is green. |
Usage Scenario
By default, protocol packets enter the CS6 queue without the color during internal queue scheduling. To facilitate internal scheduling of protocol packets, use the host-packet dscp map command to configure mappings between DSCP values of protocol packets and internal priorities and between DSCP values and colors.
Prerequisites
The DSCP values of protocol packets that the host delivers have been configured using the host-packet type control-protocol dscp command or host-packet type management-protocol dscp command.
In VS mode, this command is supported only by the admin VS.