IP QoS Overview

Source: Internet
Author: User
Tags rfc

IP QoS Overview

1. Related Protocols

[RFC 2474] definition of the differentiated services field (DS field) in the IPv4 and IPv6 Headers
[RFC 2475] an architecture for Differentiated Services
[RFC 2597] Assured Forwarding PHB Group
[RFC 2598] an expedited Forwarding PHB
[RFC 2836] per hop behavior identification codes

2. dscp (Differentiated Services codepoint) distinguishes service encoding points

In the IPv4 packet header, dscp is the first six bits in the TOS domain.

Dscp is used for QoS in DiffServ-based networks. Its function is to select PHB (Per-hop behavior), and PHB ensures the QoS (latency, bandwidth, etc.) of IP packets ).

Each dscp value has one-to-one or multiple-to-one relationship with PHB.

In a DiffServ network, services are classified and traffic is controlled at the network entrance according to service requirements. At the same time, IP packets are configured in the dscp domain. During route forwarding,

Vro selects PHB Based on the dscp value (different PHB determines resource allocation, queue scheduling, and Group discard policies), and provides different QoS for IP packets based on the selected PHB.

DiffServ provides class-based QoS with good scalability, but this service model lacks an effective end-to-end QoS control mechanism.

3. af phb (Assured Forwarding PHB) ensures forwarding

Af phb ensures that the packet loss rate is low when the service traffic does not exceed the threshold.

Af phb corresponds to four af classes

Class 1 class 2 class 3 class 4
+ ------------- + ------------ +
Low Drop prec | 001010 | 010010 | 011010 | 100010 |
Medium Drop prec | 001100 | 010100 | 011100 | 100100 |
High drop prec | 001110 | 010110 | 011110 | 100110 |
+ ------------ + ------------- +

The default PHB encoding 000000 corresponds to best-effort traffic.

Explanation of PHB encoding: Taking af11 (0010100) as an example, the first three bits indicate the IP packet priority, the next two bits indicate the packet loss priority, and the last bit is always 0.
Af11 = 001-01-0

The higher the level of the AF class, the higher the priority of the corresponding IP packet, and the higher the QoS quality.

Class 1 class 2 class 3 class 4
+ ---------- +
Low Drop prec | 10 | 18 | 26 | 34 | (decimal)
Medium Drop prec | 12 | 20 | 28 | 36 |
High drop prec | 14 | 22 | 30 | 38 |
+ ---------- +

4. ef phb (expedited forwarding) Acceleration forwarding

The dscp corresponding to ef phb is:, 101-11-0, 46

Ef phb can provide applications with low packet loss rate, low latency, and guaranteed bandwidth. It provides higher QoS than af phb.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.