*** Welcome to piglix ***

Class of Service


Class of service is a parameter used in data and voice to differentiate the types of payloads contained in the packet being transmitted. The objective of such differentiation is generally associated with assigning priorities to the data payload or access levels to the telephone call.

As related to network technology, CoS is a 3-bit field that is present in an Ethernet frame header when 802.1Q VLAN tagging is present. The field specifies a priority value between 0 and 7, more commonly known as CS0 through CS7, that can be used by quality of service (QoS) disciplines to differentiate and shape/police network traffic.

CoS operates only on 802.1Q VLAN Ethernet at the data link layer (layer 2), while other QoS mechanisms (such as DiffServ, also known as DSCP) operate at the IP network layer (layer 3) or use a local QoS tagging system that does not modify the actual packet, such as Cisco's "QoS-Group".

Network devices (i.e. routers, switches, etc.) can be configured to use existing CoS values on incoming packets from other devices (trust mode), or can rewrite the CoS value to something completely different. Most Internet Service Providers do not trust incoming QoS markings from their customers, so CoS is generally limited to use within an organization's intranet.

As related to legacy telephone systems, COS is often used to define the permissions an extension will have on a PBX or Centrex. The Class of Service acronym is normally written as COS vs. CoS as is often used in data networking parlance. Certain groups of users may have a need for extended voicemail message retention while another group may need the ability to forward calls to a cell phone, and still others have no need to make calls outside the office. Permissions for a group of extensions can be changed by modifying a COS variable applied to the entire group.

COS is also used on trunks to define if they are full-duplex, incoming only, or outgoing only.


...
Wikipedia

...