20-23
Catalyst 3550 Multilayer Switch Software Configuration Guide
78-11194-03
Chapter20 Configuring QoS Configuring QoS
Beginning in privileged EXEC mode, follow these steps to configure the port to trust the classification
of the traffic that it receives:
To return a port to its untrusted state, use the no mls qos trust interface configuration command.
For information on how to change the default CoS value, see the Configuring the CoS Value for an
Interface section on page 20-24. For information on how to configure the CoS-to-DSCP map, se e t he
Configuring the CoS-to-DSCP Map section on page 20-39.
Command Purpose
Step1 configure terminal Enter global configuration mode.
Step2 mls qos Enable QoS globally.
Step3 interface interface-id Enter interface configuration mode, and specify the interface to be
trusted.
Valid interfaces include physical interfaces.
Step4 mls qos trust {cos | dscp | ip-precedence} Configure the port trust state.
By default, the port is not trusted.
The keywords have these meanings:
cosClassifies ingress packets with the packet CoS values. For
untagged packets, the port default CoS value is used. The default
port CoS value is 0.
dscpClassifies ingress packets with packet DSCP va lues. For
non-IP packets, the packet CoS value is used if the packet is
tagged; for untagged packets, the default port CoS is used.
Internally, the switch maps the CoS value to a DSCP value by
using the CoS-to-DSCP map.
ip-precedenceClassifies ingress packets with the packet
IP-precedence values. For non-IP packets, the packet CoS v alue
is used if the packet is tagged; for untagged packets, the default
port CoS is used. Internally, the switch maps the CoS value to a
DSCP value by using the CoS-to-DSCP map.
Use the cos keyword setting if your network is composed of Ethernet
LANs, Catalyst 3500 XL and 2900 XL switches, and has no more
than two types of traffic. Recall that on Catalyst 3500 XL and 2900
XL switches, CoS configures each transmit port with a
normal-priority transmit queue and a high-priority t ran smi t q ueu e.
Use the dscp or ip-precedence keyword if your network is not
composed of only Ethernet LANs and if you are familiar with
sophisticated QoS features and implementations.
Step5 end Return to privileged EXEC mode.
Step6 show mls qos interface Verify your entries.
Step7 copy running-config startup-config (Optional) Save your entries in the configuration file.