17 - IP Services II - QoS Flashcards
What four characteristics of network traffic does QoS let you manage?
Bandwidth
Delay
Jitter
Loss
What two types of Delay are there?
One way delay
Round trip delay
What is Jitter?
The variation in one way delay between consecutive packets sent to the same application
What causes most loss in networks (more than faulty cabling)?
Device queues getting too full then discarding packets
What is QoE?
Quality of Experience
Typically the users perception of their use of the application on the network
What was historically called ‘batch traffic’?
Non interfactive data / data applications e.g. Data backup or file transfers
What are the general steps taken for VoIP packets?
- Codec processes (digitizes) sound to create binary code for a certain time period e.g. 20ms
- Data placed into IP packet
- Packet transmitted over network
What characteristics of QoS would you balance for VoIP?
Don’t neccessarily need much Bandwidth.
But interactive voice needs better level of quality for Delay, Jitter and Loss
What are the recommended guidelines for QoS for interactive voice?
Delay (one-way): <150ms
Jitter: <30ms
Loss: <1%
What are the recommended guidelines for QoS for video?
Bandwidth: 384kbps to 20+Mbps
Delay (one-way): 200-400ms
Jitter: 30-50ms
Loss: 0.1 - 1%
What are 4 key areas of QoS tools?
Classification and Marking
Queuing
Shaping and Policing
Congestion Avoidance
What is Classification and Marking for QoS?
The QoS tool that classifies packets based on their header contents and then marks the message by changing some bits in specific header fields
What roles do queues playing in Classification?
Packets can be classified into different types of queues to then be sent as determined appropriately by scheduling / prioritization
What are the rough steps for a router forwarding a packet with respect to classification and queuing?
- Router makes forwarding decisions
- Classification logic applied to put packets in appropriate output queue
- Router waits for outgoing interface to be available
- Queuing tools scheduling logic chooses the next packet prioritizing one over the other
What is the recommended strategy for Matching in terms of complexity?
Do complex matching early in the life of a packet, then marking the packet to allow devices that process the packet later in its life to use much simpler classification logic
What does marking a packet do?
QoS tool changes header fields to set values
What is the DSCP field?
Differentiated Services Code Point
6 bit field for QoS marking
Can you perform classification with an ACL?
Yes but not every classification can be made with an ACL due to more complex requirements
What is NBAR?
Cisco Network Based Application Recognition
Matches packets for classification in a large variety of ways that are useful for QoS
How might you use NBAR?
Classify traffic type for an Amazon Video and give it a unique DSCP marking
What is CoS?
Class of Service
3 bit field in the third byte of the 802.1Q header
A way of managing traffic by grouping similar types of traffic and treating each as a class with a certain level of service priority
Why does marking a QoS field in the IP header work well?
Because the IP header exists for the entire trip from source to destination host
What is an IPv4 ToS field?
Type of Service field
1 byte
Used to put the DSCP (6 bits) marking value
What was formerly used in the ToS field before DSCP?
3 bits of IPP (IP Precedence)
What is the DSCP field contained within in an IPv6 header?
Traffic Class byte
What is PcP?
Priority Code Point
Another name for the CoS field in the 802.1q header
What is a downside of QoS fields such as CoS?
Because they are in the 802.1q header, they only exist when 802.1q trunking is used on a link