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

Attention: The Community will be in read-only mode on 12/14/2017 from 12:00 am pacific to 11:30 am.

During this time you will only be able to see content. Other interactions such as posting, replying to questions, or marking content as helpful will be disabled for few hours.

We apologize for the inconvenience while we perform important updates to the Community.

Can someone explain CoS?

When does CoS come into play? How many values are there, and in what priority (low number is low priority or is higher number?)

Where can I find more information on CoS values? I've looked, and it seems like I can only find references to them in MPLS docs.

Thanks!

John

HTH, John *** Please rate all useful posts ***
1 ACCEPTED SOLUTION

Accepted Solutions
Hall of Fame Super Blue

Re: Can someone explain CoS?

John

"So is IP precedence (0-7) the L3 equivalent to CoS"

Kind of. There are the same number of values and so you could map them across. And because DSCP is backwards compatible with IP Prec then you can map CoS to DSCP which is exactly what a switch does.

IP precedence is a subset of DSCP as DSCP used more bits in the ToS byte than IP precedence.

Jon

5 REPLIES
Hall of Fame Super Blue

Re: Can someone explain CoS?

John

You could also search on 802.1p as this is CoS marking.

There are 8 CoS values ranging from 0 which is best effort to 7 which is actually reserved as is 6. 5 is voice.

CoS markings are used at layer 2 in ethernet frames and are present within an 802.1q packet. This bit is quite important to understand ie. you need an 802.1q vlan tagged packet to be able to have CoS markings as they are contained within the 802.1q header. So you will see CoS markings present on a trunk link.

CoS is purely a way to mark and prioritise packets at layer 2 on ethernet.

Jon

Re: Can someone explain CoS?

Thanks Jon.

So is IP precedence (0-7) the L3 equivalent to CoS? Is the IP precedence also DSCP?

Thanks,

John

HTH, John *** Please rate all useful posts ***
Hall of Fame Super Blue

Re: Can someone explain CoS?

John

"So is IP precedence (0-7) the L3 equivalent to CoS"

Kind of. There are the same number of values and so you could map them across. And because DSCP is backwards compatible with IP Prec then you can map CoS to DSCP which is exactly what a switch does.

IP precedence is a subset of DSCP as DSCP used more bits in the ToS byte than IP precedence.

Jon

Re: Can someone explain CoS?

Thanks Jon :-) I'm trying to get a handle on this whole classification and marking thing with QoS.

HTH, John *** Please rate all useful posts ***

Re: Can someone explain CoS?

One thing to keep in mind is the Remapping as Jon mentioned.

You could take an IP packet mark it with DSCP40 for example, packet is then trunked and frame marked with COS2...when Frame comes out of teh switch and Vlan tag is removed ...so does the COS mapping and ur packet arrives at destination unaffected by COS marking.

Luckily for us...most cisco switches have internal tables mapping COS-DSCP or COS-IPREC.

Morality, marking can be useless if not applied end to end.

HTH

Sam

160
Views
0
Helpful
5
Replies
CreatePlease to create content