Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

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

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.

2 ACCEPTED SOLUTIONS

Accepted Solutions
Community Member

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

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

Hall of Fame Super Bronze

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

That is exactly right.

7 REPLIES
Community Member

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

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.

Community Member

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

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?

Community Member

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

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

Community Member

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

Thanks for the great explanation, it is much appreciated.

Community Member

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

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?

Hall of Fame Super Bronze

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

That is exactly right.

Community Member

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

Excellent, thank you for the confirmation.

816
Views
4
Helpful
7
Replies
CreatePlease to create content