Class of Service (CoS) or Quality of Service (QoS) is a way to manage multiple traffic profiles over a network by giving certain types of traffic priority over others. For example you can give Voice traffic priority over email or http traffic. CoS is offered by service providers normally within an MPLS (Multi Protocol Label Switching) offering.
CoS is the classification of specific traffic (at layer 2) by manipulating the class of service bits (in the frame header). It effectively 'marks' the traffic so that QoS can use this identification/classification as a means to actually manipulate the traffic according to your policy. It is one way to identify traffic (along with ToS, ACLs, etc) so that QoS knows what to manipulate and how to manipulate.
Unlike QoS (Quality of Service) CoS does not offer guarantees with bandwidth or delivery time its based on a best effort basis.
There are three main CoS technologies:
802.1p Layer 2 Tagging
Type of Service (ToS)
Differentiated Services (DiffServ)
CoS Value Marking:
Marking a packet with a local CoS value allows users to associate a Layer 2 Class of Service value with a packet. The value can then be used to classify packets based on user-defined requirements. Layer 2 to Layer 3 mapping can also be configured by matching on the CoS value, since switches already have the capability to match and set CoS values. If a packet that needs to be marked to differentiate user-defined QoS services is leaving a router and entering a switch, the router should set the CoS value of the packet, since the switch can process the layer 2 CoS header marking.
The CoS value cannot be marked as part of an input traffic policy (which is attached to an interface using the "service-policy input" command). A CoS value marking can only be applied to output traffic policies (which are attached using the "service-policy output" command)
Configuring a CoS Value:
In the following example, a service policy called policy1 is created. This service policy is associated to a previously defined classification policy through the use of the class command. This example assumes that a classification policy called class1 was previously configured.
In the following example, the CoS value is set to 5.
Hi All- Looking for some guidance on how to deal with what i assume is a flash corruption issue on an old 3750 stack. It won't save the startup config.c3750-5e15-32.50.csc#cop run star
Destination filename [startup-config]?
nv_done: unable to o...
I fell in on some equipment, which is new to me, no formal training, just reading and chugging along. Fell in on a SONET Ring of 5 ONS 15454, of which when I use the CTC Launcher only 4 are viewable and 1 shows Unknown 4. I log in to the Unkno...
Hello, I have a cisco WS-C3650-48PD running firmware 16.6.7.I have configured DHCP snooping exactly as per our many other switches e.g. GLOBALLY:ip dhcp snoopingip dhcp snooping vlan 10,110 On the uplink trunk Port Channel interface th...
I have a RV345 running Firmware 1.0.03.20, it is intermittently restarting. I have turned on logging and I don't see any errors. I am trying to figure out why the router would reboot on its own. It happens 1 to 3 times a day. This ...