52-42
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
OL-8978-04
Chapter 52 Configuring QoS
Configuring QoS on the Switch
To configure the CoS value for a port, perform this task in privileged mode:
This example shows how to configure the port CoS value to 3 for port 1/1:
Console> (enable) set port qos 1/1 cos 3
Port 1/1 qos cos set to 3
Console> (enable)
To revert to the default CoS value for a port, perform this task in privileged mode:
This example shows how to revert to the default CoS value for port 1/1:
Console> (enable) clear port qos 1/1 cos
Port 1/1 qos cos setting cleared.
Console> (enable)
Creating Policers
Note Supervisor Engine 1 with a Layer 2 Switching Engine does not support the commands in this section.
To create a policer, perform this task in privileged mode:
For more information, see the “Policers” section on page 52-24 and the “PFC2 Policing Decisions”
section on page 52-25.
Task Command
Step 1
Configure the CoS value for a port. set port qos cos cos_value
Step 2
Verify the configuration. show port qos
Task Command
Step 1
Revert to the default CoS value for a port. clear port qos cos
Step 2
Verify the configuration. show port qos
Task Command
Step 1
Create a policer. set qos policer microflow microflow_name {rate
rate} {burst burst_value} {drop | policed-dscp}
With PFC or PFC2:
set qos policer aggregate aggregate_name {rate
rate} {burst burst_value} {drop | policed-dscp}
With PFC2 or PFC3A:
set qos policer aggregate aggregate_name {rate
rate} policed-dscp {erate erate_value} {drop |
policed-dscp} burst burst_value [eburst
eburst_value]
Step 2
Verify the configuration. show qos policer {config | runtime}
{microflow | aggregate | all}