Trusting QoS

Generally speaking, you should mark your packets as close to the source as possible. In theory, that could be the actual source, such as IP Phones, gateways, PCs and servers. However, that poses some problems in larger organizations where the group that is charged with protecting voice quality does not manage the PCs and servers. This is because server administrators and PC users could simply tweak their computers to send all their data, including WWW surfing, e-mail and file and print traffic at priority 7. (Don't forget users wouldn't know that voice traffic is usually set below routing and network control traffic.)

So the solution is typically to configure your switches to "trust" traffic coming in on a given port, or to not trust it. Trusted simply means the switch allows the packets to enter the network unmolested. Packets entering an untrusted port have their CoS and ToS values reset to the lowest value (usually). Thus, users can set their PCs or servers to send traffic at any priority they wish, but it will not affect the network.

However, if you're using IP Phones, you may be able to get a little more sophisticated, depending on your vendor. In a typical scenario where you have a PC plugged into an IP Phone, and the IP Phone plugged into the switch, you can configure the switch to trust the IP Phone, and configure the switch to instruct the phone to not trust the PC.

What this does is push the job of marking traffic off your layer 2 switch

    Requires Free Membership to View

    SearchUnifiedCommunications.com members gain immediate and unlimited access breaking industry news, expert advice on UC, technical guides, and more -- all at no cost. Join me on SearchUnifiedCommunications.com today!

    Kate Gerwig, Editorial Director

    By submitting your registration information to SearchUnifiedCommunications.com you agree to receive email communications from TechTarget and TechTarget partners. We encourage you to read our Privacy Policy which contains important disclosures about how we collect and use your registration and other information. If you reside outside of the United States, by submitting this registration information you consent to having your personal data transferred to and processed in the United States. Your use of SearchUnifiedCommunications.com is governed by our Terms of Use. You may contact us at webmaster@TechTarget.com.

and onto the IP Phone (which the user typically can't modify).

As an example, the commands to configure this on a Cisco Catalyst switch would be:

set port qos <slot/port> trust-ext untrusted
set port qos <slot/port> trust trust-cos


Tom Lancaster, CCIE# 8829 CNX# 1105, is a consultant with 15 years experience in the networking industry, and co-author of several books on networking, most recently, CCSPTM: Secure PIX and Secure VPN Study Guide published by Sybex.


This was first published in February 2004

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.