152 Chapter 6: QoS Features Available on the Catalyst 2950 and 3550 Family of Switches
verifying configuration of a CoS-to-DSCP mapping table and a IP precedence-to-DSCP
mapping table, respectively.
Ingress Port CoS Configuration
The Catalyst 2950 Family and 3550 Family of switches allow for static configuration of
ingress CoS values used for DSCP mapping. The switches use ingress port CoS configura-
tions to classify untagged frames and override CoS values on tagged frames.
To configure a switch interface to represent a CoS value for an untagged frame, use the
following interface commands:
mm
mm
ll
ll
ss
ss
qq
qq
oo
oo
ss
ss
tt
tt
rr
rr
uu
uu
ss
ss
tt
tt
cc
cc
oo
oo
ss
ss
mls qos cos
cos_value
cos_value represents the CoS value to assign to untagged frames. The switch requires both
configuration commands for assigning CoS values to untagged frames.
Example 6-4 illustrates an example of an interface configured for trusting CoS for tagged
frames and the default configuration of assigning a CoS value of 0 to untagged frames.
Example 6-2 User Configuring and Verifying CoS-to-DSCP Mapping Table
Switch#config terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#mls qos map cos-dscp 0 8 16 30 30 46 50 50
Switch(config)#end
Switch#show mls qos map cos-dscp
Cos-dscp map:
cos: 0 1 2 3 4 5 6 7
--------------------------------
dscp: 0 8 16 30 30 46 50 50
Example 6-3 User Configuring and Verifying IP Precedence-to-DSCP Mapping Table
3550#config terminal
Enter configuration commands, one per line. End with CNTL/Z.
3550(config)#mls qos map ip-prec-dscp 0 8 16 28 30 46 50 55
3550(config)#end
3550#show mls qos map ip-prec-dscp
IpPrecedence-dscp map:
ipprec: 0 1 2 3 4 5 6 7
--------------------------------
dscp: 0 8 16 28 30 46 50 55
Example 6-4 Example Interface Configuration of Trusting CoS Values of Tagged Frames and Assigning Default
CoS Value 0 to Untagged Frames
Switch# show running-config
Building configuration…
!
(text deleted)
interface FastEthernet0/1