Quality of Service (QoS) Flashcards
What is the need for QoS
To improve the delivery of real time traffic such as voice and video as they are very sensitive to delays.
What are the leading causes of QoS issues
Lack of bandwidth
Latency/Jitter
Packet loss
What is latency and jitter
Latency - the one way time it takes for packet delivery from source to destination in ms.
Jitter - the difference between highest latency and lowest latency.
What is the recommended latency values under G.114 for real time traffic and non-real time traffic
Real time - 150ms max
all other traffic - 400ms MAX
What are the different types of latency in a network
Propagation delay (fixed) - delay with the refractive index of the medium taken into account.
Serialisation delay (fixed) - delay it takes to place the individual bits on to the link.
Processing delay (fixed) - delay it takes for network device to take incoming bits and place them on to the outgoing queue/ interface.
Delay (Variation) - Jitter.
What are the main ways to overcome packet loss
Increase link speed
Implement congestion avoidance and congestion management techniques
Implement traffic policing and shaping.
What are the 3 different ways QoS is implemented into a network (QoS implementation models)
Best effort
IntServ - uses a signalling protocol RSVP to reserve bandwidth end to end
DiffServ - uses traffic classification to prioritise higher priority traffic.
What is the drawback of IntServ
A RSVP state is required to build, maintain and support the RSVP this causes issues with scalability of resources.
What is classification in QoS
Classification is where different traffic flows can be identified as different descriptors.
Where in the network should traffic classification take place
On the edge
What is NBAR2
It is a layer 7 deep packet inspection engine that is capable of identifying and classifying different applications and protocols from 1000s of different ports including dynamically assigned ports.
What layers can be classified on the OSI scale
All layers including 2.5 MPLS
What is packet marking in QoS
It is when a packet or frame is coloured by changing a field with a traffic descriptor so that it is differentiated from other packets
What traffic descriptors are used for marking
Layer 2
Layer 2.5 MPLS
Layer 3 DSCP, IP precedence
What is the 802.1Q header made up of in a layer 2 frame
TPID - 2B field that indicates it is a 802.1Q header
TCI - 2B field made up of PCP code, DEI and VID
What is a PCP code used for
A PCP code is the 802.1P CoS layer 2 traffic marking that indicates the priority of the frame in the network. 1-7 (7 is the highest). 5 is for voice and is the highest user definable value.
What is the drawback to Class of service (CoS) PCP
It looses its marking once it traverses a non 802.1Q link or layer 3 link. However CoS bits are directly mapped to IPv4 (ToS) bits performing layer 3 marking.
What is the DSCP field used for
Marking layer 3 traffic so it can be processed at layer 3 on a hop by hop basis. DSCP is used for DiffServ QoS Implementations.
On a DSCP hop by hop basis packets are classified and marked with a particular DSCP per hop forwarding behaviour (PHB), what are the different PHBs
DF - Default forwarding (best effort delivery) DSCP value 000000
CS - Class sector (Used for backwards compatibility with IP precedence ToS)
AF - Assured forwarding - Used for guaranteed bandwidth services.
EF - Expedited forwarding - used for low latency services like voice.
IN assured forwarding what does this mean AF41
This DSCP value in decimal will be 34, the AFxy x is the IP precedence value and y is the drop probability of the packet in WRED.