52-75
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
OL-8978-04
Chapter 52 Configuring QoS
Configuring QoS on the Switch
Enter up to 64 internal DSCP value list/egress CoS value pairs. This example shows how to map the
internal DSCP values to the egress CoS values:
Console> (enable)
set qos
dscp-cos-map
20-25:7 33-38:3
QoS dscp-cos-map set successfully.
Console> (enable)
To revert to the default CoS-to-DSCP value mapping, perform this task in privileged mode:
This example shows how to revert to the CoS-to-DSCP map defaults:
Console> (enable)
clear qos dscp-cos-map
QoS dscp-cos-map setting restored to default.
Console> (enable)
Mapping the DSCP Markdown Values
To map the DSCP markdown values that are used by the policers, perform this task in privileged mode:
For more information, see the
“Policers” section on page 52-24
.
Enter up to 64 DSCP-value-list/DSCP-value pairs.
This example shows how to map the DSCP markdown values:
Console> (enable)
set qos
policed-dscp-map
20-25:7 33-38:3
QoS dscp-dscp-map set successfully.
Console> (enable)
This example shows how to map the DSCP markdown values for the packets exceeding the excess rate:
Console> (enable)
set qos policed-dscp-map 33:30
QoS normal-rate policed-dscp-map set successfully.
Console> (enable)
set qos policed-dscp-map excess-rate 33:30
QoS excess-rate policed-dscp-map set successfully.
Console> (enable)
Task
Command
Step 1
Revert to the DSCP value/CoS value map
defaults.
clear qos dscp-cos-map
Step 2
Verify the configuration.
show qos maps
{
config
|
runtime
}
[
cos-dscp-map
|
ipprec-dscp-map
|
dscp-cos-map
|
policed-dscp-map
]
Task
Command
Step 1
Map the DSCP values to mark down the DSCP
values.
set qos policed-dscp-map
dscp_list:markdown_dscp
...
Step 2
With PFC2, map the DSCP values to the
markdown DSCP values.
set qos policed-dscp-map
[
normal
|
excess
]
in_profile_dscp_list:policed_dscp
...
Step 3
Verify the configuration.
show qos maps
{
config
|
runtime
}
[
cos-dscp-map
|
ipprec-dscp-map
|
dscp-cos-map
|
policed-dscp-map
]