diffserv, dscp & wrr - What layer(s) do they operate?

Answered Question
Jun 23rd, 2007
User Badges:

Hi, I am interested to know which layer(s) diffserv, dscp & wrr operate at.


I believe diffserv and dscp are the same thing, though diffserv only has priority bits ranging from 0-7 but dscp extends that to more than 60. However, what I don't know what layer the two operate nor do I know what layer wrr operates at.


If someone could enlighten me it would be much appreciated.


Thank you.

Correct Answer by Edison Ortiz about 10 years 1 month ago

That is exactly right.

Correct Answer by Timor_SSS about 10 years 1 month ago

Diffserv is QOS technology that applies both on L2 and L3 layers. In case of DSCP it is considered to be a layer 3 feature because it uses TOS byte of the IP header. In case of CoS (class of service), it uses L2 markings. WRR is bandwidth allocation method for various queues (each queue at a time). It can be layer 2 feature on L2 switches (every queue gets certain transmission period), and also can be L3 feature that used by CQ (custom queuing) - one of the queuing methods of the Diffserv models.


HTH


Tim


  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4.7 (3 ratings)
Loading.
Timor_SSS Sun, 06/24/2007 - 01:05
User Badges:

Diffserv is a QOS technology for dealing many issues. One of it's components is marking traffic classes. One of the marking methods is DSCP.

If you look inside IP header, you'll see a whole BYTE for QOS, it's called TOS (Type Of Service Byte). In this Byte the first 6 bits are used by DSCP, however, only the first 3 are considered most significant, the other three are used to mark drop probability for the packet and rarely used for actual marking. The first three bits give you 8 values, the same bits are used by other marking methods as well, thus making DSCP backward compatible.


QOS is a big topic and a very important one... My advice for you is to spend some time learning it.


voiper_99 Sun, 06/24/2007 - 02:34
User Badges:

Thank you for the reply. I am currently studying QoS (amongst other things). So what layer is Diffserv and WRR? Are they both layer 3?

Correct Answer
Timor_SSS Sun, 06/24/2007 - 04:41
User Badges:

Diffserv is QOS technology that applies both on L2 and L3 layers. In case of DSCP it is considered to be a layer 3 feature because it uses TOS byte of the IP header. In case of CoS (class of service), it uses L2 markings. WRR is bandwidth allocation method for various queues (each queue at a time). It can be layer 2 feature on L2 switches (every queue gets certain transmission period), and also can be L3 feature that used by CQ (custom queuing) - one of the queuing methods of the Diffserv models.


HTH


Tim


voiper_99 Sun, 06/24/2007 - 15:19
User Badges:

Thanks for the great explanation, it is much appreciated.

voiper_99 Sun, 06/24/2007 - 16:04
User Badges:

I just have one other question. Why would one want to map a DSCP value to a CoS value? Would it be because the layer 3 device would be using DSCP but a directly connected layer 2 device would be using CoS so the layer 3 device needs a way to convert CoS to DSCP for incoming traffic and also convert DSCP to CoS for outgoing traffic?

Correct Answer
Edison Ortiz Sun, 06/24/2007 - 18:12
User Badges:
  • Super Bronze, 10000 points or more
  • Hall of Fame,

    Founding Member

That is exactly right.

Actions

This Discussion