This articleneeds additional citations forverification. Please helpimprove this article byadding citations to reliable sources. Unsourced material may be challenged and removed. Find sources: "Class of service" – news ·newspapers ·books ·scholar ·JSTOR(September 2011) (Learn how and when to remove this message) |
Class of service (COS orCoS) is a parameter used in data and voiceprotocols to differentiate the types of payloads contained in thepacket 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 anEthernet frame header when802.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 byquality of service (QoS) disciplines to differentiate and shape/police network traffic.
COS operates only on 802.1Q VLAN Ethernet at thedata link layer (layer 2), while other QoS mechanisms (such asDiffServ, also known as DSCP) operate at the IPnetwork 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.[citation needed]
Service providers offering private-line WAN services will typically offer services that can utilize COS/QoS.
As related to legacy telephone systems, COS is often used to define the permissions an extension will have on aPBX orCentrex. Certain groups of users may have a need for extendedvoicemail 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 arefull-duplex, incoming only, or outgoing only.[citation needed]
The term can be used generically to refer to theclassification of network traffic within network equipment based on packet inspection. Cisco implements such classification through either access-lists orNetwork-Based Application Recognition (NBAR). NBAR works with the existing QoS system.[1]