Configuring QoS
DiffServ Configuration
Configuration Guide
443
Step 4
For T1600G-18TS:
qos queue dscp-map {
dscp-list
} {
tc-id
}
Configure the mapping relations between the DSCP values in the IP header and the TC queues.
dscp-list:
Enter one or more DSCP values which range from 0 to 63. Enter the multiple values in
the format of “1-3,5,7”.
tc-id:
Specify the TC-ID. The valid values are from 0 to 7.
For other switches:
qos queue dscp-map {
dscp-list
} {
cos-id
}
Configure the mapping relations between the DSCP values in the IP header and the CoS
values. The
packets are firstly mapped to CoS, then to TC queues according to the CoS-id-TC
mapping relations.
dscp-list:
Enter one or more DSCP values which range from 0 to 63. Enter the multiple values in
the format of "1-3,5,7".
cos-id:
Specify the CoS-id. The valid values are from 0 to 7.
Step 5
show qos status
Verify that DSCP priority is enabled.
show qos dscp-map
Verify the DSCP-TC mapping relations.
Step 6
end
Return to privileged EXEC mode.
Step 7
copy running-config startup-config
Save the settings in the configuration file.
The following example shows how to map DSCP values 10-14 to TC1, and keep other
mapping relations as default:
Switch#configure
Switch(config)#show qos cos-map
-----+-----+-----+-----+-----+-----+-----+----+----
Tag |
0
|1 |2 |3 |4 |5 |6 |7
-----+-----+-----+-----+-----+-----+-----+----+----
TC |
TC1
|TC0 |TC0 |TC3 |TC4 |TC5 |TC6 |TC7
-----+-----+-----+-----+-----+-----+-----+----+----
Switch(config)#qos queue dscp-map
10-14 0