Configuring QoS
Class of Service Configuration
User Guide
453
Step 2
qos cos-map {
dot1p-priority
} {
tc-queue
}
Specify the 802.1p to queue mapping. The packets with the desired 802.1p priority will be put
in the corresponding queues. By default, the 802.1p priority 0 to 7 is respectively mapped to
TC-1, TC-0, TC-2, TC-3, TC-4, TC-5, TC-6, TC-7.
dot1p-priority:
Specify the 802.1p priority. The valid values are from 0 to 7.
tc-queue:
Specify the ID number of the TC queue. The valid values are from 0 to 7.
Step 3
show qos cos-map
Verify the 802.1p to queue mappings.
Step 4
end
Return to privileged EXEC mode.
Step 5
copy running-config startup-config
Save the settings in the configuration file.
■
Configuring the DSCP to 802.1p Mapping and DSCP Remp
Follow these steps to configure the DSCP to 802.1p mapping and DSCP remap:
Step 1
configure
Enter global configuration mode
Step 2
qos dscp-map {
dscp-value-list
} {
dot1p-priority
}
Specify the DSCP to 802.1p mapping. The ingress packets with the desired DSCP priority are
first mapped to 802.1p priority based on the DSCP to 802.1p mapping, then to TC queues
based on the 802.1p to queue mapping. The untagged packets with the desired DSCP priority
will be added an 802.1p priority value according to the DSCP to 802.1p mapping. by default,
the DSCP priorities 0-7 are mapped to the 802.1p priority 0, the DSCP priorities 8-15 are
mapped to the 802.1p priority 1 and so on.
dscp-value-list:
Specify the DSCP value list in the format of “1-3,5,7”. The valid values are from
0 to 63.
dot1p-priority:
Specify the 802.1p priority. The valid values are from 0 to 7.
Step 3
qos dscp-remap {
dscp-value-list
} {
dscp-remap-value
}
(Optional) Specify the DSCP to DSCP mappings. DSCP Remap is used to modify the DSCP
priority of the ingress packets. When the switch detects the packets with the desired DSCP
priority, it will modify the value of DSCP priority according to the map. By default, the original
DSCP priority 0 is mapped to the DSCP priority 0, the original DSCP priority 1 is mapped to the
DSCP priority 1 and so on.
dscp-value-list:
Specify the original DSCP priority list in the format of “1-3,5,7”. The valid values
are from 0 to 63.
dscp-remap-value:
Specify the new DSCP priority. The valid values are from 0 to 63.
Step 4
show qos dscp-map
Verify the DSCP to queue mappings.
Downloaded from