Operation Manual

Configuration Guide 452
Configuring QoS DiffServ Configuration
Step 6 copy running-config startup-config
Save the settings in the configuration file.
The following example shows how to map CoS2 to TC0, and keep other CoS-id-TC as
default:
Switch#configure
Switch(config)#qos queue cos-map 2 0
Switch(config)#show qos status
802.1p priority is enabled.
DSCP priority is disabled.
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)#end
Switch#copy running-config startup-config

Configuring DSCP Priority
Step 1 configure
Enter global configuration mode.
Step 2 qos dscp
Enable DSCP Priority.
Step 3 show qos cos-map
Check the CoS-id-TC mapping relations.
Step 4 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 queues, 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.