The Internet To Support Multimedia Traffic

Print   

02 Nov 2017

Disclaimer:
This essay has been written and submitted by students and is not an example of our work. Please click this link to view samples of our professional work witten by our professional essay writers. Any opinions, findings, conclusions or recommendations expressed in this material are those of the authors and do not necessarily reflect the views of EssayCompany.

Abstract� QoS requirements for multimedia traffic have been covered by various normalisation groups, like 3GPP ITU, ETSI. Differentiated services is one method for applying Quality of Service policies, is the most advanced technique for managing traffic. DiffServ is protocol for specifying and controlling network traffic by simple classification schema. In this paper I bring closer issues related to the forms of QoS main traffic types, classification and marking of the packets, DiffServ architecture.

Keywords� DiffServ, Quality of Service, traffic types, classification, marking

? Introduction

Different applications have different traffic characteristic often requiring guaranteed or regulated service. Quality of Service tolls has been designed and developed to provide special application (like voice and video) with guaranteed service in the deficiency of best bandwidth condition.

Presently we have three fundamental methodologies for apply

Quality of Service:

? Best-Effort,

? Integrated Services (IntServ);

? Differentiated Services (DiffServ).

A Best-Effort network does not support QoS, just use of the �best set of paths� to destinations, and traffic is routed on a �first come, first serve� basis. There is no difference between different kinds of the traffic. Best-Effort is a default action of hardware, is easy to implement and very scalable.

Integrated Services, has been developed in order to provide quality of service - QoS (Quality of Services) - from beginning to end for the individual streams, the sequence of packets having one specific source and one destination. It is described in RFC 1633.

IntServ is based on two key principles:

? each network element needs quality of service control mechanisms,

? the application must be able to transmit to the network their quality of service requirements.

DiffServ implementing scalable service differentiation in the Internet, is based on a simple model where traffic entering a network is classified and possibly conditioned at the boundaries of the network, and assigned to different behavior aggregates, identified by a single DS codepoint.�Within the core of the network, packets are forwarded according to the per-hop behavior associated with the DS codepoint.

TABLE

Cisco IOS DiffServ Features and Benefits

Source: www.cisco.com/en/US/products/ps6610/products_d`ata_sheet09186a00800a3e30.html

Features Benefits

Full IETF compliance Standards based QoS that can be applied End-to-End

Packet classifications via DSCP Scalability: Fewer states are stored at the core of the network

Standard and user defined PHBs End-to-End construction of well-defined services for applications

Modular QoS CLI Granular traffic control and bendable management

AF,EF, and arbitrary classes Flexible classification and service offerings

? Main Traffic Types and QoS requirements

Many applications have special requirements of the network i.e. VoIP requires low latency and jitter however it has comparatively minimal bandwidth requirements. Video requires low jitter and high bandwidth even so it has relatively minimal latency requirements. Interactive video is the most rigorous in that it requires high bandwidth, low latency, and jitter.

? Viideo

The requirements for videoconferencing can be applied as either a one-to-one capability or a multipoint conference.

? = 150 ms of one-way latency from mouth to ear (per the ITU G.114 standard).

? = 30 ms jitter.

? = 1 percent packet loss.

? Minimum bandwidth guarantee is videoconferencing session + 20 percent. For example, a 384-kbps videoconferencing session requires 460 kbps guaranteed priority bandwidth.

The requirements for streaming video, such as IP multicast, executive broadcasts, and real-time training activities, are as follows:

? Four to 5 seconds of latency allowable (depending on the video application's buffering capabilities). No significant jitter requirements

? Two percent packet loss permissible. Bandwidth required depends on the encoding and the rate of the video stream.

? Video content distribution such as video on demand being replicated to distributed content engines.

? Delay- and jitter-insensitive.

? Large file transfers (traffic patterns similar to FTP sessions).

? Restrict to distribution to less-busy times of day.

? Provision as "less-than-best-effort" data.

? Voice

Voice calls require the following:

? = 150 ms of one-way latency from mouth to ear (per the ITU G.114 standard)

? = 30 ms jitter

? 17 to 106 kbps of guaranteed priority bandwidth per call (depending on the sampling rate, codec, and Layer 2 overhead )

? 150 bps (plus Layer 2 overhead) per phone of guaranteed bandwidth for voice control traffic

Your paper must be in two column format with a space of 4.22mm (0.17") between columns.

? Data

There are a few key points to remember about classifying data traffic:

? Profile applications to get a elementary perceptive of their network needs.

? Perform capacity planning to ensure an adequate bandwidth baseline.

? Use no more than four separate data traffic classes .

? Decrease the number of applications assigned to the transactional and bulk data classes (three or fewer are recommended).

? Use proactive provisioning polices before activated policing policies.

? DiffServ architecture

DiffServ architecture is build around concept of a domain, has two minor elements:

? Traffic conditioning ( policing, colouring, and shaping are done only at the edge of the network)

? Per-hop behaviours ( queuing, scheduling, and dropping are done at every hop in the network).

Fig.1 DiffServ architecture

Source: www.cisco.com/en/US/technologies

A traffic conditioner classifies the incoming packets into aggregates then meters them to determine agreement and marks them appropriately by writing/re-writing the DSCP. Finally internet packed are come through Shaper/Dropper for buffer to achieve a target flow rate or drop the packet in case of crowding.

Fig.2 Traffic conditioning block

Source: http://140.116.82.38/members/html/ms03/dclin/technique_paper/Qos/Differentiated%20Service%20Router.pdf

Classifier � select a internet packet based on packet header.

Meter � check compliance to traffic parameters.

Marker � writes/ re-writes DSCP.

Shaper � Delays some internet packets.

Dropper - Dropping some internet packet.

? Differentiated services code point

Differentiated Services Code Point (DSCP) is a field in an IP packet that enables different levels of service to be assigned to network traffic. Each packet is marked with DSCP code and befitting to the corresponding level of service.

DSCP is the aggregation of IP Precedence and ToS fields.

�

Fig.2 The Original IPv4 ToS Byte

Source: www.cisco.com/en/US/technologies/tk543/tk766/technologies_white_paper09186a00800a3e2f.html

�

IP Precedence has used the first three bits of the ToS field to give 8 possible precedence values:

111 - Network Control

110 - Internetwork Control

101 - CRITIC/ECP

100 - Flash Override

011 - Flash

101 - Immediate

001 - Priority

000 - Routine

Bits (3-6): The type of Service Defined

0000 -All Normal

1000 -Minimise Delay

0100 -Maximise Throughput

0010 � Maximise Reliability

0001 � Minimise Monetary Cost

Fig.3 DiffServ Code-point Field

Source: www.cisco.com/en/US/technologies/tk543/tk766/technologies_white_paper09186a00800a3e2f.html

Priority of a packer is identify by the first 6 bits of the Type of Service. IP Precedence is matched with the Class Selector and is correspond by the first 3 bits. Next 3 bits set Drop Precedence.

IP Precedence has six class from 0-5 where 0 means default (Best - Effort forwarding). Better level of service is provided by the higher classes value.

Inside each IP Precedence traffic is assigned a Drop Probability(from low to high)

Classes names for the IP Precedence from 1 to 4 starts with letters 'AF ' which means ASSURED FORWARDING. Following digit applied identify IP Precedence and Drop Probability for example:

AF42- class 4, drop probability medium

Packet with IP Precedence 0 (default) and 5 (Expedited Forwarding) do not have any level of the Drop Probability.

TABLE

DSCP values

Source: www.http://www.rhyshaden.com/qos.htm

? Classification

DiffServ QoS has only few steps. Traffic must be identified and classified into groups then is marked (within Layer2 or Layer 3 header) on trust boundaries, after this must be made POLICIES to describe the per-hop behaviour.

Classification can be based on:

? ACLs (Access control list),

? L2 ( Class of Service � Ethernet header),

? L3 ( Type of Service � IP Precedence, DSCP),

? MAC address,

? NBAR,

? Variety of UDP port numbers,

? Incoming interface,

? MPLS EXP ( MPLS header ).

? Layer 2 and Layer 3 marking

We use both of Layer 2 and Layer 3 to marking the internet packets. Layer 2 markings are made by switches and Layer 3 by WAN. Most present QoS solutions are distribute at Layer 3.

Layer 2 devices using the three bits CoS field in 802.1Q tagged frames to transfer high status information.

Layer 3 devices use three bits of IP Precedence field from the ToS of the IP header or can use DiffServ field from (ToS octet)

Fig.4 L2 and L3 marking

Source: http://www.perihel.at/2/rno/02-QoS-Marking.pdftml

? NBAR

NBAR is awesome feature created by CISCO. NBAR, routers can look at Layers 4 through 7 and can identifies applications. When application is recognised NBAR can take certain steps to ensure that the application has correct priority.

NBAR with iOS 12,3 is able to identify more applications due to the availability of the Packet Description Language Module (PDLM) feature.

The IOS uses PDLMs to know which application is what when it looks through the traffic flow. Cisco regularly releases new PDLMs for new applications, and you can find the list on the PDLM Web page (valid CCO login required).

Configuring NBAR

? Configuration start from 'cef' command.

Router(config)# ip cef

Router(config)#class-map match-any bad-traffic

Router(config-cmap)# match protocol http

Router(config-cmap)# match protocol http

Router(config)#class-map match-all nbar

Router(config-cmap)#match pro ?

? Creating policy.

Router(config)# policy-map mark-bad-traffic

Router(config-pmap)# class bad-traffic

Router(config-pmap)# set ip dscp 1

? Applying policy to the interface.

Router(config)# interface serial 0/0

Router(config-if)#service-policy input mark-bad-traffic

? Create ACL.

Router(config)# access-list 190 deny ip any any dscp 1

Router(config)# access-list 190 permit ip any any

Source:http://www.techrepublic.com/blog/networking/what-can-ciscos-network-based-application-recognition-nbar-do-for-you/399

? Queuing

Queuing is used to store internet packet until they can by processed. We have a lot of queuing methods:

? First-In First-Out (FIFO do not need any configuration, has very simple processing routine and treat all the internet packets the same. No delay guarantee for real � time applications like VoIP).

Fig.4 First-In First-Out queuing

Source: www.h3c.com/portal/Products___Solutions/Technology/QoS/Technology_White_Paper/200812/623011_57_0.htm#_Toc215923182

? Priority Queuing (PQ needs configuration has low processing speed but provide absolute priority and delay guarantees for real � time applications).

Fig.5 Priority Queuing

Source: www.h3c.com/portal/Products___Solutions/Technology/QoS/Technology_White_Paper/200812/623011_57_0.htm#_Toc215923182

? Custom Queuing (CQ needs to be configure has low speed processing, not suitable for the real - time applications. Ascribe different bandwidth percentages to different services).

Fig.6 Custom Queuing

Source: www.h3c.com/portal/Products___Solutions/Technology/QoS/Technology_White_Paper/200812/623011_57_0.htm#_Toc215923182

? Weighted Fair Queuing (WFQ has automatic internet packet classification and is very easy to configure. Reduce jitter and delay. Processing speed is faster than PQ or CQ but not so good like FIFO ) .

Fig.7 Weighted Fair Queuing

Source: www.h3c.com/portal/Products___Solutions/Technology/QoS/Technology_White_Paper/200812/623011_57_0.htm#_Toc215923182

? Class-Based Weighted Fair Queuing (CBWFQ provide various queue scheduling mechanisms [up to 64] for EF, AF and BE services with held minimum bandwidth guarantee during periods of crowding).

Fig.8 Class-Based Weighted Fair Queuing

Source: www.h3c.com/portal/Products___Solutions/Technology/QoS/Technology_White_Paper/200812/623011_57_0.htm#_Toc215923182

? Low-Latency Queuing (LLQ adds rigorous priority to the CBWFQ and allows delay Voice and Video data to be dequeued and dispatched before lower priority internet packets. LLQ is an improved version of CBWFO).

? DiffServ core router PHB

? Configuring DiffServ

Configuring DiffServ on IOS devices requires following steps:

? Classify traffic using a class-map,

? Define a QoS policy using a policy-map,

? Apply the policy to an interface, using the service-policy command.

? Conclusions

DiffServ is the protocol for classifying packets recommended by IETF as one ( next to RSVP and MPLS)of the quality of service differentiation mechanisms.

The protocol developed by a team of dedicated group of IETF IntServ. This does not mean that the protocol was better. IntServ provides QoS and DiffServ differentiated. However, IntServ is not scalable, and its implementation is expensive.

DiffServ is popular because of its scalability in enterprise environments. However, DiffServndoes not absolutely guarantee service, like IntServ.

Creating a DiffServ network is much cheaper, because the creators abandon the model of resource reservation. The main advantage of the protocol is the aggregation of flows.

Nowadays networks crowding does not have to exist at the edge of the network. Congestion is equiprobableat the edge in the core of the network. The reason of the traffic congestion in networks is the capability mismatch in different parts of the network core. This requires measures to protect the edge of the network and QoS schema across all network on both layer 2 and layer 3.



rev

Our Service Portfolio

jb

Want To Place An Order Quickly?

Then shoot us a message on Whatsapp, WeChat or Gmail. We are available 24/7 to assist you.

whatsapp

Do not panic, you are at the right place

jb

Visit Our essay writting help page to get all the details and guidence on availing our assiatance service.

Get 20% Discount, Now
£19 £14/ Per Page
14 days delivery time

Our writting assistance service is undoubtedly one of the most affordable writting assistance services and we have highly qualified professionls to help you with your work. So what are you waiting for, click below to order now.

Get An Instant Quote

ORDER TODAY!

Our experts are ready to assist you, call us to get a free quote or order now to get succeed in your academics writing.

Get a Free Quote Order Now