Volume 2 - Chapter 15: Quality of Service (QoS) Flashcards

1
Q

What are the 4 main characteristics of QoS?

A

Bandwidth
Delay
Jitter
Loss

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Describe the QoS characteristic delay.

A

The time it takes for a packet sent by a host to arrive at its destination (one-way).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Describe the QoS characteristic jitter.

A

The difference in one-way delay between different packets. For example:
* Packet 1: one-way delay is 350 ms
* Packet 2: one-way delay is 475 ms.

Jitter in this scenario is 25 ms

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Loss is expressed as a ____ .

A

Percentage.

For example, 5 packets out of 200 are lost. The loss is 2.5 percent.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

A user’s perception of the performance of an application on a network is refered to as?

A

Quality of Experience (QoE)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

A large file transfer or backup over a network is a considered to be a ____ flow.

A

non-interactive

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

A real time application like a VOIP call or streaming service is considered to be a ____ flow.

A

interactive

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Describe the general QoS requirements to support VOIP.

A
  • Delay (one-way): 150 ms or less
  • Jitter: 30 ms or less
  • Loss: 1% or less
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Describe the general QoS requirements to support video.

A
  • Bandwidth: 384 Kbps to 20+ Mbps
  • Delay (one-way): 200–400 ms
  • Jitter: 30–50 ms
  • Loss: 0.1%–1%
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Describe the purpose of classification/marking in regards to QoS.

A

To classify a packet based on information in the header, then mark the message by changing information in the header.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Where in the topology is it recommended to mark traffic in regards to QoS?

A

As close to the source of the traffic as possible.

For example, on a switchport where the host is connected.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Describe the size and purpose of the DSCP field in regards to QoS.

A

Differentiated Services Code Point (DSCP) is a 6 byte field in the IP header used for marking packets.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

True or False:

All fields in the IP and TCP header are available for QoS classification.

A

True, QoS can classify traffic on all information in the IP and TCP headers. Here are just a few for example:
* Source IP
* Destination IP
* Source port
* Checksums

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Describe the purpose of NBAR in regards to QoS.

A

Cisco Network Based Application Recognition (NBAR) is used to categorize traffic beyond application ports.

For example, classifying Webex traffic differently than Youtube

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

The NBAR term of defining characteristics of different applications is referred to as?

A

application signatures.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Describe the size and purpose of the IPP Type of Service (ToS) field

A

IP Precence is a 3-bit field in the IPv4 header which is used for QoS marking.

It is the predecessor to DSCP and only supports 8 possible markings.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

Describe the size and purpose of the DSCP Type of Service (ToS) field

A

DSCP is a 6-bit field in the IPv4 header which is used for QoS marking.

It supports up to 64 values for marking.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

The IPv6 DSCP field is refered to as?

A

The IPv6 Traffic Class byte

Functionally the same as the IPv4 DSCP field.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

Describe the difference between QoS and CoS

A

Quality of Service refers to classifying and marking traffic based on information in the IP header.

Class of Service referes to classifying and marking traffic based on information in the Ethernet header.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

Describe the size and purpose of the PCP field

A

Priority Code Point (PCP) is a 3-bit field in the Ethernet header which is used for QoS marking.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

Where is the location of the PCP field in the Ethernet header?

A

The PCP is located in the last 3-bits of the 4-bit 802.1Q field.

As such, PCP Class of Service can only be used on trunks (switch-to-switch) links

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

Describe the size and purpose of the TID ToS field

A

The TID (Traffic Identifier) is a 3-bit field in the 802.11 header used for QoS marking.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

Describe the size and purpose of the EXP ToS field

A

The EXP (Experimental Bits) is a 3-bit field in the MPLS label used for QoS marking of WAN traffic.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

The point in a network where QoS/CoS markings are considered to be trusted is refered to as?

A

The trust boundry.

For example, a switch may be a trust boundry. QoS markings added from the switch are trusted by the rest of the network.

However, if the QoS markings are added by a host connected to the switch, they will be ignored. The host is not considered trusted.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
Q

True or False:

An IP phone is considered to be a generally common trust boundry.

A

True; DSCP and CoS markings can be set on a IP-phone by a voice admin.

This way, the traffic can be marked as close to the source of the traffic as possible, without the host itself creating the markings.

The phone can also mark PC and voice traffic with different markings.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
26
Q

Which DSCP value as defined by DiffServ best matches the following?

Used for packets that need low latency, low delay, and low jitter

A

Expedited Forwarding (EF)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
27
Q

What is the DSCP value for Expedited Forwarding?

A

Decimal 46

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
28
Q

What DSCP value is most commonly used for voice traffic?

A

Expedited Forwarding (EF)

29
Q

Which DSCP type as defined by DiffServ best matches the following?

  • Includes 12 individual DSCP markings
  • Has 4 queues, each with 3 drop priority classes
A

Assured Forwarding (AF)

30
Q

What is the AF DSCP value that has the best queue and best drop priority?

A

AF41

31
Q

What is the AF DSCP value that has the worst queue and best drop priority?

A

AF11

32
Q

What is the AF DSCP value that has the worst queue and worst drop priority?

A

AF13

33
Q

What is the AF DSCP value that has the best queue and worst drop priority?

A

AF43

34
Q

2 packets are marked with the following Assured Forwarding DSCP markings:
* Packet 1: AF21
* Packet 2: AF22

Describe how QoS will treat these packets.

A

Both packets will be put into the same queue (queue 2), but packet 1 will receive preferred treatment for drops

35
Q

2 packets are marked with the following Assured Forwarding DSCP markings:
* Packet 1: AF33
* Packet 2: AF22

Describe how QoS will treat these packets.

A

Packet 1 will be put into the better queue (queue 3) over packet 2 (queue 2).

However, packet 2 will receive preferred treatment for drops

36
Q

In regards to QoS, define the purpose of the Class Selector (CS).

A

The Class Selector (CS) DSCP values represent the older 3-bit IPP values.

37
Q

Describe how the Class Selector (CS) values fit within the current DSCP field.

A

The DSCP values append 3 zeros after the 3-bit IPP value.

38
Q

What would be the DSCP value that includes a Class Selector value of CS5?

A

The decimal DSCP value would be 40:

1 0 1 0 0 0

39
Q

As per RFC 4954, what is the recommended DSPC marking for voice payload?

A

DSCP EF (Expedited Forwarding)

40
Q

As per RFC 4954, what is the recommended DSPC marking for Interactive Video?

A

AF4x

41
Q

As per RFC 4954, what is the recommended DSPC marking for High Priority (low latency traffic)?

A

AF2x

42
Q

As per RFC 4954, what is the recommended DSPC marking for Streaming Video?

A

AF3x

43
Q

As per RFC 4954, what is the recommended DSPC marking for Standard Data?

A

CS0

44
Q

What term best describes the following?

A QoS toolset used to “hold” packets while they wait for an outgoing interface to be available.

A

Queuing

45
Q

Which QoS queuing strategy best matches the following?:

A single output queue that sends out the first packet to be received.

A

First-In First-Out (FIFO)

46
Q

Which QoS queuing strategy best matches the following?:

Multiple queues that are each cycled through in order; where each queue gets time to be processed.

A

Round-Robin Scheduling

Also know as Prioritization

47
Q

Describe the difference between Round-Robin and Class-Based Weighted Fair Queuing (CBWFQ).

A

Both strategies provide each queue with a guaranteed minimum amount of time.

However, CBWFQ gives priority to certain queues so they get more processing time.

48
Q

Which queuing strategy best matches the following?:
* Queue 1: Allocated 50% of time
* Queue 2: Allocated 30% of time
* Queue 3: Allocated 20% of time

A

Class-Based Weighted Fair Queuing (CBWFQ)

49
Q

Which QoS queuing strategy best matches the following?:

Multiple queues that are each cycled through in order; where traffic in a special queue always gets processed first

A

Low Latency Queuing (LLQ)

50
Q

Which queuing strategy best matches the following?:
* Voice Queue: Allocated 50% of time
* Queue 1: Allocated 20% of time
* Queue 2: Allocated 15% of time
* Queue 3: Allocated 15% of time

A

Low Latency Queuing (LLQ)

51
Q

In regards to QoS, describe the function of Queue Starvation.

A

When there is more priority traffic in bits-per-second than in interface can handle. Preventing other non-priority queues from ever getting processing time.

52
Q

In regards to QoS, describe the function of Policing.

A

To limit the amount of traffic being placed into high-priority queues (LLQ)

53
Q

Describe how policing/policers limit traffic into high-priority queues.

A

By placing a cap on the amount of bandwidth in the high-priority queue. If a certain cap is reached (20% for example), the the excess traffic is discarded.

54
Q

What tool can be used to limit the amount of voice/video traffic to prevent policers from discarding excess traffic?

A

Call Admission Control (CAC) tools.

55
Q

What type of queuing method should be used for data classes and non-interactive voice/video?

A

Class-Based Weighted Fair Queuing

56
Q

What type of queuing method should be used for interactive voice and video?

A

Low-Latency Queuing (LLQ) with a priority queue

57
Q

True or False, voice and video should be put into different queues so policing can apply to them differently?

A

True

58
Q

In regards to QoS, describe the purpose of Shaping and Queuing.

A

The monitor and keep the current bit rate of traffic passing through and interface below a configured threshold.

59
Q

Describe the difference between shaping and queuing.

A

With shaping, if a packet pushes the interface past the shaping rate; then the packet will be queued

With policing, if a packet pushes the interface past the policing rate; then the packet will be discarded

60
Q

Policer tools allow for temporary ____ that push traffic past the configured policing rate.

A

bursts

61
Q

Where are policing and shaping tools most commonly used?

A

At the edge of the network; usually the WAN connection.

62
Q

A mutually agreed WAN service speed is refered to as?

A

A Committed Information Rate (CIR)

63
Q

Describe the purpose of a shaper’s time interval.

A

To establish a percentage of time that an interface is allow to transmit data at its maximum speed.

64
Q

A network engineer has a CIR of 200 Mbps on their WAN link, but their outgoing interface uses 1 Gbps.

What would be the shaping behavior used with a 1 second time interval?

A

The outgoing interface would sent at the full 1 Gbps interface rate, but only for 200 ms before resting for 800 ms. This results in a 200 Mbps average

65
Q

What is the recommended shaping interval to support voice and video.

A

10 ms maximum

66
Q

In regards to QoS, describe the function of tail-drop

A

Tail drop occurs in a network with medium to high congestion. When multiple queues are full, traffic will be dropped.

67
Q

When does tail drop typically occur?

A

When a TCP window is shrunk due to a lost segment.

68
Q

What term best describes the following?

A tool used to drop a percentage of data depending on how full a queue is.

A

Congestion Avoidance Tools.