Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...I have been a grateful member of this site for several years. I love this site and refer everyone to it!..."

Geography

Where in the world do Tek-Tips members come from?
keithja (MIS)
19 Jun 12 15:13
There is a long-standing question in my mind in regards to QOS on Cisco switches (specifically in my case, 3560s and 3750s) that I hope someone can clear up for me once and for all.

In the document:
http://www.cisco.com/en/US/docs/ios/qos/command/re...

I see the following statement:
QUOTE
All of the CoS-to-DSCP and DSCP-to-CoS maps are globally defined. You apply all maps to all ports.

If you enter the mls qos trust cos command, the default CoS-to-DSCP map is applied.

If you enter the mls qos trust dscp command, the default DSCP-to-CoS map is applied.

End QUOTE

Yet I am forever-no-end seeing the following configuration for interfaces:
"
mls qos map cos-dscp 0 8 16 40 32 46 48 56
mls qos trust dscp
"

including in the "Nortel IP Phone Inter-Working with Cisco L2 Switches" document.

I am clearly not understanding something. It seems to me that if 'mls qos trust dscp' is set, 'mls qos map cos-dscp ' anything, becomes null and void, and the only map that matters is the 'dscp to cos' map.

Can someone clear this up for me? It is a point of confusion every time I hit it.

Thanks!
unclerico (IS/IT--Management)
20 Jun 12 15:39
remember the maps are global where the trust state is specified per interface. so on one interface you could have mls qos trust dscp and then on another you could have mls qos trust cos. altering the default cos-dscp map is necessary so that if you do trust the cos values on an interface the proper dscp value is derived from the map.

keithja (MIS)
20 Jun 12 17:16
Hi UncleRico,

That would make sense, but the cases in which I've seen it (the Nortel document is a perfect case in point) it is clearly talking about the settings in reference to the same port. To the effect of:

"
In global configuration enter the command "mls qos map cos-dscp 0 8 16 40 32 46 48 56"

Then for each port to which an IP phone is connected enter the following configuration:
voice vlan 10
mls qos trust dscp
priority-queue out

For the uplink port enter etc, etc.

"

So am I thinking about something incorrectly, or did they make a mistake? When viewing it as configuration setup for an IP phone on a cisco switch - which is what it seems they are referring to - wouldnt it make more sense, when using trust dscp - to use 'mls qos map dscp-cos (and the required remappings)?

thx
liliahrj (IS/IT--Management)
2 Jul 12 10:26
Hi, How i can to apply QoS in switches Cisco 3560,3750 and 4000: I need to do the next in these switches:

policy-map QoS-policy
description Aplicacion de prioridad

class Voice-Services-DSCP
priority 32
compress header ip rtp

class Mission-Critical-DSCP
bandwidth remaining percent 50
random-detect dscp-based
random-detect ecn
random-detect dscp 24 34 40

class Interactive-DSCP
compress header ip tcp
bandwidth remaining percent 7
random-detect dscp-based
random-detect ecn

class No-Estandar-QoS
bandwidth remaining percent 8
random-detect dscp-based
random-detect ecn

class class-default
bandwidth remaining percent 35
random-detect dscp-based
random-detect ecn

Please somebody can help me
Thanks







ADB100 (TechnicalUser)
2 Jul 12 10:44
Not possible with the 3560/3750 - not too sure with the Cat 4000? The policy you show looks like it is an egress policy from a 'real' router. With the 3560/3750 you can only apply QoS policies inbound and your options are to classify (or re-classify) the traffic to a DSCP or CoS value, police to a rate and then either mark down (i.e. DSCP 0 -> 8 when the rate is exceeded) or simply drop. You cannot apply egress policies but you can queue traffic into any of the 4 queues based on DSCP or CoS value (dscp and cos to queue maps).

Andy

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Back To Forum

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close