104 Chapter 4: QoS Support on the Catalyst 5000 Family of Switches
Classification and Marking
The Catalyst 5000 Family of switches bases classification solely on Layer 2 CoS values.
Although the switch can rewrite Layer 3 IP precedence values in specific configurations,
the switch does not use ToS values, including IP precedence values or DSCP values to make
any QoS classification, marking, or congestion avoidance decisions. With regard to classi-
fication, the Catalyst 5000 Family of switches is similar to the Catalyst 4000 CatOS Family
of switches and the Catalyst 2900XL and 3500XL switches.
Classification and Marking of Untagged Frames Based on Ingress Port
The Catalyst 5000 switch does not support any port-level rewriting of DSCP or ToS values,
the switch only rewrites the ingress frames’ CoS value and does not alter the DSCP or ToS
bits even on untrusted ports. In this respect, the Catalyst 5000 Family of switches, by
default, does not trust CoS values but always trusts DSCP or ToS values. Nevertheless, the
Catalyst 5000 Family of switches can reclassify and mark untagged frames with a specific
CoS value similar to the Catalyst 2900XL and 3500XL switches on line modules that
support QoS features as indicated in Table 4-2. The switch must transmit the frame with a
dot1q tag or Inter-Switch Link (ISL) header for the respective CoS value to be present on
egress. Use the following command to configure a port to classify untagged ingress frames
with a specific CoS value:
set port qos
mod/ports
cos
cos_value
cos_value represents the overriding CoS value. To clear the configuration, use the clear
port qos {mod/ports} cos command. Example 4-7 illustrates a user configuring a switch
port to classify untagged ingress frames with a specific CoS value and then clearing the
configuration.
No options exist on the Catalyst 5000 Family of switches for trusting CoS, trusting DSCP,
or trusting IP precedence.
Classification of Tagged Frames Based on Ingress Port
The Catalyst 5000 Family of switches trusts ISL- or dot1q-tagged frames’ CoS value by
default and does not support reclassification or marking of tagged frames based on port
configuration.
Example 4-7 User Configuring Port to Classify Untagged Frames with Specific CoS Value
Console> (enable) ss
ss
ee
ee
tt
tt
pp
pp
oo
oo
rr
rr
tt
tt
qq
qq
oo
oo
ss
ss
33
33
//
//
11
11
cc
cc
oo
oo
ss
ss
55
55
Port 3/1 qos cos set to 5
Console> (enable) clear port qos 3/1 cos
Port 3/1 qos cos setting cleared.