cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2280
Views
0
Helpful
19
Replies

Quality of service

carl_townshend
Spotlight
Spotlight

Hi all, with COS, does this actually provide you with a mechanism to prioritize the traffic as it stands for class of service, not quiality of service, and this all happens at layer 2 ?

19 Replies 19

Pavel Bykov
Level 5
Level 5

CoS is three bits, 1 or 0. It does not do anything. It's just there. DSCP and IPP does not do anything either. It's a MARK.

You have to configure a device to say prioritize packets that have CoS 010 over packets that have CoS 000.

Pavel Bykov
Level 5
Level 5

Imagine 20 people standing in a line.

Classification:

You see that some people wear blue sweaters, and some white.

Marking:

You take a red brush, and stroke white sweaters with red color, and take a black brush, and stroke blue sweaters with black color.

Congestion management:

For every person that has red strokes on them, you allow two other people through that have black strokes on them

Congestion avoidance:

If there are more than 5 people with red strokes on them, kill one person

Policing:

If more that 6 people with black strokes try to enter at once, kill other people

Shaping:

If more that 6 people with black strokes try to enter at once, make other people wait until all people pass

Fragmenting:

If a person with red stroke weight more than 400 pounds, cut them in half

Interleaving:

If you want people with black strokes that weight 100 pounds to pass ahead of people with red strokes that weight 400 pounds, but it takes too long for large person to get through, you cut the large person in half, let one half pass, than let person with black stroke pass, than let the other half of a person with a red stroke pass, and connect two parts of that person into one again.

CoS is marking, but that's it.

For QoS to function, all other mechanisms have to be set up.

can you tell me the difference between

classification and marking ? im a little confused ?

I always look at classification as "Identify/matching" something and Marking as "changing" what I identified.

You could match several different markings and change them all to just one marking.

You could identify(classify) AF21, AF20, AFxx and change(mark) them all to be just AF21.

When you make changes you also have the opportunity to control allocated bandwidth for it to.

You will see match, match, match in class-maps and under policies you will see set, set, set for those class map identifications.

nqtran1979
Level 1
Level 1

I think everyone is making this more difficult than it is.

the original question is: does CoS provide you with a mechanism to prioritize the traffic.

Answer: yes it does

Explanation: by default cisco switches remark everything it recieves to CoS 0 (best effort) and then sends it out. When you configure the switches to trust the CoS markings (that has been done before it reaches the switch) and/or remark them to CoS (whatever) you can then enable priority (outbound) queueing aswell as all the extra settings such as bandwidth assigned to each out-going queue etc ... just like QoS and Routed interfaces. I won't go into detail to what type of queueing is allowed as that differs between switches. There's also in-coming priority queues that you can configure ... again read Cisco docs on the particular switches you are using and its capabilities.

Review Cisco Networking for a $25 gift card