QoS – Flashcard

Unlock all answers in this set

Unlock answers
question
Give an example of an Integrated Services protocol
answer
RSVP
question
What does RSVP do?
answer
it reserves bandwidth on all routers of the path, for a specific application to work
question
What does Differentiated Services protocols do?
answer
they apply QoS mechanisms on a per-hop basis
question
What are the characteristics of voice traffic in terms of bandwidth?
answer
deterministic, smooth, benign, sensitive to delay, jitter and packet loss
question
What are the characteristics of video traffic in terms of bandwidth?
answer
deterministic, bursty, greedy
question
true/false: QoS can help circumvent problems of severe lack of bandwidth
answer
false. QoS can be a solution for temporary congestion
question
QoS can protect against which issues?
answer
packet loss, delay and jitter
question
What are the four deployment methods of QoS?
answer
CLI, MQC (Modular QoS CLI), AutoQoS, QPM (QoS Policy Manager)
question
Which QoS deployment method integrates witch CiscoWorks?
answer
QPM
question
What's the difference between policing and shaping?
answer
if a limit is reached, policing drops or re-marks packets, while shaping queues packets
question
What are the known QoS tools?
answer
classification, marking, policing, shaping, congestion avoidance, congestion management, Link efficiency,
question
What does classification do?
answer
inspects one or more fields of a packet in order to group traffic in different classes
question
true/false: RED is implemented on Cisco devices by default
answer
false.
question
What's the disadvantage of RED?
answer
when buffers are filled, packets are randomly dropped
question
true/false: RED is implemented on Cisco devices
answer
False. WRED is.
question
With WRED, when all types of traffic have the same weight, what does a Cisco device do?
answer
it randomly drops packets, when the buffers get filled.
question
What are the steps to configure MQC?
answer
1. configure traffic classes 2. configure Policy map 3. apply Policy map on the interface
question
true/false: Only one Policy map is applicable per interface
answer
false. Only one Policy map is applicable per interface, per direction.
question
What's the command to configure a class of traffic?
answer
(config)#class-map {match-all | match-any} {name}
question
What are the possible criteria of matching traffic when creating class maps?
answer
"match-all" (the default), "match-any"
question
What's the command that configures a Policy map?
answer
(config)#policy-map {name}
question
true/false: we must always configure a default class
answer
false. There's a default class map called "class-default"
question
To which boolean operators are "match-any" and "match-all" equivalent to?
answer
"match-any" = OR statement, "match-all" = AND statement
question
Policy maps are not case sensitive
answer
false
question
a policy map can manipulate one or more class maps
answer
true
question
What's the syntax to configure actions for a class map, under a policy map?
answer
(config)#policy-map Policy-Map1 (config-pmap)#class Class1
question
What's the command that applies a policy map to an interface?
answer
(config-if)#service-policy {input | output} {MyPolicy_Map}
question
What's the command that displays the list of class maps?
answer
show class-map
question
What's the command that displays the list of policy maps?
answer
show policy-map
question
What does Marking do?
answer
writes to a packet according to the strategy that Classification follows
question
Classification can be done at which layer?
answer
2 through 7
question
Define the Trust Boundary
answer
the point in the network at which QoS markings are trusted
question
Where should Marking be implemented?
answer
as close to the source as possible
question
true/false: network devices inside a Trust Boundary should reconfigure QoS settings of the incoming packets
answer
false.
question
Where can we summon the power of NBAR?
answer
inside a class map, with "match protocol..."
question
in NBAR, what if there are new applications or new application versions, and you don't have them defined in IOS, under "match protocol" ?
answer
download NBAR PDLMs from Cisco.com
question
How to activate NBAR protocol discovery?
answer
(config)#ip nbar protocol-discovery
question
What are the steps to define new PDLMs in IOS?
answer
1. download PDLM from Cisco.com 2. put the downloaded PDLMs in router Flash 3. install the PDLM with (config)#ip nbar pdlm {path_of_PDLM_in_Flash}
question
Which limitation prevents us sometimes from marking packets close to the source?
answer
some devices (ip phones and switches) do not support QoS marking
question
At which layer can Marking occur?
answer
layers 2 and 3
question
Give examples of Marking at layer 2?
answer
CoS, MPLS EXP bits, Frame Relay DE bit
question
Which tools allow marking at layer 3?
answer
IP Precedence and DSCP
question
What is the difference between class maps and policy maps?
answer
class maps classify traffic. Policy maps tell what to do with them
question
How many values are available for IP Precedence marking?
answer
8 (0 to 7)
question
Define the values of marking. in a eight-class QoS policy?
answer
0: best-effort 1: medium-priority data 2: high-priority data 3: Call signaling 4: videoconferencing 5: voice bearer 6 and 7: reserved
question
Define CoS?
answer
it's a 3-bit filed in the layer 2 header that allows to have up to 8 classes of traffic
question
Define IP Precedence
answer
It uses the leftmost 3 bits of the ToS field of the layer 3 header, and allows to have up to 8 classes of traffic
question
true/false: IP Precedence came after DSCP
answer
false
question
How do you define actions under a policy map?
answer
(config-pmap-c)#set ...
question
How does DSCP segment the ToS byte?
answer
leftmost 3 bits: the Major class middle 3 bits: Drop Preference 2 rightmost bits: ECN bits
question
Why in Cisco routers we have the possibility to define 64 DSCP values or AF/EF values?
answer
That's for flexibility. It is recommended however, to adhere to the AF/EF naming standard
question
List the AF Major classes
answer
AF1, AF2, AF3, AF4
question
List the EF Major classes
answer
there's only EF.
question
Map the DSCP values to the IP Precedence values
answer
0 -> 0 AF1 -> 1 AF2 -> 2 AF3 -> 3 AF4 -> 4 EF -> 5
question
true/false: a DSCP value is composed of a Major class, a Drop Preference and a ECN bit
answer
false. It is composed of only the Major class and the Drop Preference
question
true/false: FIFO gives delay and bandwidth guarantees
answer
false
question
Which queuing method does Priority queuing use?
answer
Strict Priority
question
How many queues are available with Priority Queuing?
answer
4: High, Normal, Medium and Low
question
true/false: Priority Queue provides delay guarantees
answer
yes only for the high queue
question
How many queues are available with Custom Queuing?
answer
16
question
Which queuing method does Custom queuing use?
answer
Round Robin
question
true/false: Custom Queue provides delay guarantees
answer
false
question
What does WFQ do?
answer
the traffic that consumes the least bandwidth will be prioritized
question
How many queues are available with Waighted Fair Queuing?
answer
one per flow
question
How many queues are available with Class-based Waighted Fair Queuing?
answer
up to 256
question
true/false: CBWFQ provides bandwidth guarantees
answer
yes. We can set percentages of interface bandwidth dedicated to a queue
question
CBWFQ is a combination of which queuing mechanisms?
answer
CQ and WFQ
question
Which queuing mechanism is suited for voice traffic?
answer
LLQ
question
LLQ is a combination of which queuing mechanisms?
answer
PQ and CBWFQ
question
What are the recommended LLQ bandwidth provisioning rule?
answer
- reserve 33% of the interface bandwidth to voice and video - ensure that no more than 75% of the interface bandwidth is allocated (whether it's voice, video or data)
question
true/false: the higher the Drop Precedence value, the lower the probability the packet will get dropped (when buffers are full)
answer
false
question
true/false: when we mark packets, we are giving priorities to them
answer
false. Marked packets are not prioritized. Priority is given to them through the use of queuing on downstream devices
question
When queuing is configured under an interface, to which direction is it applied?
answer
outbound direction only
question
What does the following command do? max-reserved-bandwidth
answer
There's a default bandwidth allocation threshold that we can not exceed when we want to make a bandwidth allocation with "bandwidth" command, under a policy-map. This default value can be changed with the "max-reserved-bandwidth" command
question
What does "bandwidth remaining percent X" mean?
answer
allocate X percent of the remaining bandwidth
question
why is it more useful to allocate bandwidth on a percent basis rather on a fixed-value basis?
answer
because with the fixed-value allocation, each time the interface physical bandwidth changes, we must change the value
question
What is the max size of the TCP window?
answer
unlimited for most OSes
question
What is TCP Synchronization?
answer
it's when network hosts ajust their TCP window size after packet drops
question
true/false: What's the size of the UDP window?
answer
UDP does not have a concept of a window
question
true/false: RED works for both TCP and UDP traffic
answer
false; It works only for TCP
question
In Cisco implementation of WRED, how many RED profiles are available?
answer
8 RED profiles in IP Precedence, 64 profiles in DSCP
question
Define the MPD in WRED
answer
Mark Probability Denominator it's a value that defines how many packets are dropped. e.g 1/100 of packets are dropped
question
Define WRED thresholds
answer
The Minimum threshold: the threshold at which packets become to get dropped. The Maximum threshold: the threshold over which 100% of packets are dropped
question
Which command shows the number of marked packets?
answer
show policy-map interface
question
Acronym of ECN?
answer
Explicit Congestion Notification
question
What does ECN add to WRED?
answer
ECN makes WRED proactive: allows a router to detect a congestion and notify the upstream device. This one notifies the network software to slow down the packet stream
question
Which bits of the TOS byte are for ECN?
answer
rightmost 2 bits
question
What are the possible binary values of ECN bits?
answer
00: device does not support ECN, 01 and 10: device is ECN-compatible, 11: there is a congestion
question
What's the purpose of ECN-Echo packet?
answer
When a downstream router inspects a packet and finds that ECN=11, then it notifies the upstream router with a ECH-Echo packet that there's a congestion
question
true/false: the end hosts must have network software that supports ECN
answer
true
question
true/false:ECN is useful between two routers to detect a link congestion?
answer
false.
question
How to activate WRED under a policy map?
answer
(config-pmap-c)#random-detect
question
How to activate ECN?
answer
(config-pmap-c)#random-detect ecn
question
What does the "load-interval 60" do?
answer
sets NBAR IP protocol discovery interval to 60 sec
question
What are the two known tools of Link Efficiency?
answer
Header compression, LFI
question
Which parts of a packet can be compressed?
answer
payload, header
question
What is RTP header compression known as?
answer
cRTP
question
which command activates cRTP?
answer
(config-pmap-c)#compression header ip rtp
question
Which command displays information about cRTP?
answer
show ip rtp header-compression
question
On which L2 WAN technology can LFI be configured?
answer
on PPP and Frame Relay links only
question
what's the serialization delay?
answer
the time it takes to put a frame into the wire. It depends on the size of the frame and the link speed (configured with "bandwidth" command)
question
true/false: LFI is configurable with MQC
answer
false
question
Cisco recommends not to configure LFI for links whose bandwidth is greater than 768kbps
answer
true
question
How to configure LFI for PPP links?
answer
enable PPP multilink PPP multilink, create a PPP multilink group, create a PPP multilink interface (this is a logical interface), associate both the physical and the PPP multilink interfaces to the same multilink group
question
true/false: QoS on routers is done in software. QoS on Catalyst switches is done in hardware
answer
true. On routers, QoS configuration is processed by the CPU. Watch out for CPU utilization!
question
True/false: Policing should not be done as close to the source as possible
answer
false
question
QoS switch capabilities are defined in terms of...?
answer
transmit queues and thresholds. E.g: 2Q2T, 1P2Q2T
question
What types of queues can be configured on Catalyst switches?
answer
Priority Queue, Weighted Round Robin (WRR), WRR with Priority Queue
question
What's the default marking on a Catlayst switch?
answer
mark frames with CoS=0
question
true/false:shaping is good for temporary bursts
answer
true
question
What are the three possible actions with policing?
answer
conform-action, exceed-action, violate-action
question
What does the following command do? police 56000 conform-action transmit exceed-action drop
answer
- allocate a CIR of 56kbps - if CIR is reached then transmit packets, - if exceeded then drop the packets
question
Define Be:
answer
Excess Burst: the amount of bandwidth we are allowed to have above the Bc
question
Define Bc
answer
Bc: Committed Burst
question
What's the difference between legacy shaping and MQC shaping?
answer
Legacy shaping is done on frame-relay networks on a per-interface basis. MQC shaping is on a per-class basis
question
what is MQC shaping also called?
answer
class-based shaping
question
Define LAR
answer
Local Access Rate LAR: the bandwidth that WAN physical interface can support, ie T1, E1
question
Define CIR
answer
Committed Information Rate CIR: the bandwidth guaranteed
question
True/false: LAR <= CIR
answer
false
question
Define Tc
answer
Tc: Committed Time: it's a slice of a second
question
What's the formula that ties CIR to Tc?
answer
CIR=Tc*Bc
question
What are the strategies of traffic shaping?
answer
average, peak
question
What's the command to configure shaping, at CIR = 512kbps?
answer
(config-pmap-c)#shaping {peak|average} 512
question
true/false: with shaping, Cisco recommends to configure Bc and Be
answer
false. Cisco IOS integrates an IOS that automatically determines and sets Bc and Be
question
true/false: it's possible to nest a class-map inside another
answer
true
question
Acronym of SAA
answer
Service Assurance Agent
question
What does IP SLA (previously known as Service Assurance Agent SAA) allow to do?
answer
active monitoring of network parameters (delay, jitter, packet loss...) and simulates popular network traffic to test QoS settings
question
What is SAA also called?
answer
Router Time Responder
question
What are the steps to configure SAA?
answer
1. configure SAA identifier (config)#rtr 100 2. configure SAA type (config-rtr)#type ... 3. schedule the SAA (config-rtr)"rtr 100 schedule... 4. on the other router, configure SAA reponder (config)#rtr responder
question
true/false: we can configure a SAA probe to respond to certain conditions
answer
true
question
what's the command to verify SAA statistics and operations?
answer
show rtr {...}
question
Acronym for AVBO?
answer
Advanced Voice Busy Out
question
What does AVBO do?
answer
allows proactive monitoring of certain voice parameters, using a SAA probe. If these parameters fall below certain thresholds, AVBO marks the link as "busy out"
question
What's the advantage of using AVBO?
answer
to reroute a voice call on a "non-busy" link and avoid the user to wait 10-15 sec before hearing the ringtone
question
true/false: AVBO is configured on the global configuration mode
answer
false. It's configured under voice ports
question
true/false: it's recommended to leave 10% of bandwidth to best effort traffic
answer
false. It's recommended to leave 25% of bandwidth to best-effort traffic.
question
true/false: Serialization delay is a concern for links with bandwidth <= 768kbps
answer
true
question
true/false: cRTP is not efficient for links with bandwidth <=768kbps
answer
false. It's needed for links with bandwidth <=768kbps
question
Define PAK Priority
answer
it's an internal prioritization mechanism used for routing packets. The router marks routing packets with IP Precedence/CoS value 6
question
On which IOS version do we have to tune the TX_Ring value?
answer
on IOS prior to 12.1
question
What's the range of values of TX_Ring?
answer
3-64 packets
question
What's the recommended value of TX_Ring on links <=768kbps?
answer
3 packets
question
Which queuing strategy is applied to TX_Ring?
answer
FIFO, and only FIFO
question
What is TX_Ring?
answer
it's the hardware queue that receives packets right before transmitting them to the wire
question
true/false: in newer IOS releases, TX_Ring value is automatically adjusted
answer
true
question
In which scenarios is auto-qos suitable?
answer
- small and fast deployments of QoS - large scale deployments where consistency is needed - service providers deploying managed VOIP
question
What are the requirements to deploy Auto QoS?
answer
- the device is a mainstream hardware (eg 2960, 3550,1800,...) - IOS that supports Auto QoS - CEF is enabled - "bandwidth" command is set - interface is not admin down
question
Which command activates auto QoS?
answer
(config-if)#auto qos voip
question
What are the commands needed to disable auto QoS?
answer
(config-if)#no auto qos voip
question
Why we classify traffic ?
answer
to prepare it for special treatment downstream the path
question
Why do we mark traffic ?
answer
to avoid doing classification on traffic a second time, on the next hop
question
voice and video applications are sensitive to what?
answer
voice and video applications are sensitive to delay, jitter and packet loss.
question
How can jitter happen?
answer
The sender is streaming packets at a steady rate, but the processing delay and queueing delay are variable. This creates jitter.
question
What are the fixed delays and the variable delays?
answer
fixed delays: propagation delay and serialization delay; and variable delay: processing delay and queuing delay
question
true/false: data traffic is not bursty
answer
false. It can be steady sometimes and bursty other times.
question
Define end-to-end delay.
answer
End-to-end delay, is the time it takes for a packet to go from a sender to a receiver. It includes all delays across the network path.
question
When can packet loss occur?
answer
Packet loss occurs when one of the following conditions happens: - tail drop, - Input queue is full, - frame errors such as CRC, runts and giants - overrun
question
Define the maximum bandwidth on a network path.
answer
On a network path, the maximum bandwidth is the bandwidth of the slowest link.
question
Define the available bandwidth on a network path.
answer
On a network path, the available bandwidth is calculated with the following formula: maximum bandwidth/number of flows
question
What are possible solutions to reduce packet loss?
answer
increase available bandwidth, use queueing techniques, use shaping techniques
question
What are voice traffic and video traffic QoS requirements?
answer
less than 150ms of one-way delay, less than 30ms of one-way jitter, less than 1% of packet loss
question
What are Telepresence traffic QoS requirements?
answer
less than 150ms of one-way delay, less than 30ms of one-way jitter, less than 0.05% of packet loss
question
When planning bandwidth requirements for video traffic, how much bandwidth should we provision for traffic burst?
answer
provision at least 20% for burst traffic
question
What needs to be done before identifying traffic classes?
answer
- determine which applications run on the network (network audit), with tools such as NBAR, Netflow and Wireshark, - audit the company departments to know which applications they use and consider as most important(business audit) - determine the requirements of each traffic type in terms of bandwidth, delay, jitter and packet loss (the service levels)
question
What can be done to ease the task of affecting priorities to certain traffics over others in an organization?
answer
get the sponsorship of executive stuff.
question
Define Qos Policy
answer
a coporate-wide document that defines classes of traffic, their priorities and their assigned bandwidth amounts.
question
true/false: data traffic is more tolerant to delay and packet loss than voice or video traffic.
answer
true. Packet drops for example are usually not an issue with the TCP retransmission mechanism
question
Which tools can be used to monitor QoS?
answer
IP SLA, Performance Monitor, mediatrace, SNMP
question
true/false: with QoS, network engineers have the ability to choose which packets, where and when they can be dropped
answer
true.
question
What are the steps to implement a QoS policy?
answer
1- determine the traffic types and their requirements 2- put traffic into classes, 3- apply a policy that meets the traffic requirements defined in step 1.
question
Classification can be done at which level?
answer
at the input interface of each qos-aware device of the network path
question
Where should marking be done?
answer
as close to the network edge as possible
question
Where are congestion management techniques configured?
answer
at the output side of an interface
question
Where are Policing and Shaping configured?
answer
- Policing: at both the input and output direction of an interface - Shaping: only at the output direction of an interface
question
true/false: RSVP is the only RFC protocol that provides end-to-end bandwidth guarantees.
answer
true
question
true/false: RSVP applies software QoS to the network
answer
false. RSVP applies hardware QoS to the network.
question
What are the two RSVP signaling messages?
answer
RSVP signaling messages: PATH and RESV
question
Which RSVP traffic occurs at the control plane and which occurs at the data plane?
answer
RSVP signaling and CAC occur on the control plane. All other traffic is treated on the data plane.
question
How is data treated in RSVP?
answer
RSVP flows are put in a priority queue. All other traffic is managed by WFQ if the chosen service type is Guaranteed rate, and WRED if the chosen service type is Controlled load.
question
true/false: the bandwidth available for RSVP is equal to the total interface bandwidth.
answer
false. The bandwidth available for RSVP is not necessarily equal to the total interface bandwidth. It is, by default, equal to 75% of the total interface bandwidth. This can be changed with the command max-reserved-bandwidth
question
What are the three service levels provided by RSVP?
answer
best effort, guaranteed rate and controlled load.
question
What is the queuing mechanism for best effort model?
answer
FIFO
question
true/false: RSVP is less scalable than the Best Effort model.
answer
true.
question
True/false: only routers need to be RSVP-capable
answer
false. All nodes and applications that need to benefit from RSVP must be RSVP-capable.
question
true/false: DiffServ does not provide an end-to-end guarantee of QoS
answer
true.
question
What are the four PHBs defined by IETF?
answer
default, EF (bandwidth guarantee and low delay, excess bandwidth is policed), AF (bandwidth guarantee), class selector.
question
In which format can DSCP values be written in binary?
answer
If we want to write DSCP encodings in binary, they are in the following format: aaadd0, where aaa is the class and dd is the drop probability. Notice that the least significant bit is always 0.
question
What are the possible values of aaa in a DSCP value?
answer
The possible values of aaa are: 000, 001, 010, 011, 100 and 101. If aaa = 000 then we have PHB default. If dd=00 then we have class selector. If aaa= 101, then it is EF PHB. This is the highest user-defined PHB, because aaa= 110 and aaa = 111 correspond to IP Precedence values 6 and 7, which are reserved. Else, we are left with aaa= 001, 010, 011 and 100 in binary, which all correspond to different classes of AF PHB.
question
What are the possible values of ddd in a DSCP value?
answer
The possible values of dd are 00, 01, 10 and 11 in binary, which correspond to decimal values 0, 1, 2 and 3. The higher the value of dd, the higher the drop probability, which means the packet is more likely to be dropped.
question
Which type of traffic needs EF PHB?
answer
Traffic that needs EF PHB is a traffic that requires guaranteed bandwidth and low delays. Packets that belong to this traffic should be marked with DSCP 46 (1011110 in binary ). EF PHB traffic is usually voip traffic.
question
True/false: Each PHB is not always associated with a DSCP value or values.
answer
false. It is. For example, EF PHB is associated with DSCP 46.
question
How can we determine the DSCP value that corresponds to a PHB?
answer
To determine the corresponding DSCP value of a PHB in the form of EF or AFxy, either convert the PHB to binary then convert the binary value to decimal, or do this formula: DSCP value = x*8 + y*2. For example, the DSCP value of AF32 is equal to 3*8 + 2*2 = 28. How to verify it? well, AF32 is in binary 011 10 0 (remember the aaadd0 format), which in decimal equals to 28.
question
What are the classes of AF PHB?
answer
AF PHB is segmented in four AF classes: AF1, AF2, AF3 and AF4
question
Define BA
answer
Behavioural Aggregate: a collection of packets that have the same DSCP value, and traverse a link in the same direction. BA is associated to a PHB. BA is configured in IOS by the use of class maps.
question
Define PHB
answer
Per Hop Behaviour: the QoS treatment that is applied to a BA such as policing, shaping, queueing,... PHB is configured in IOS by the use of policy maps
question
On how many bits is IP Precedence written?
answer
IP Precedence spans the most significant 3 bits
question
On how many bits is DSCP written?
answer
DSCP spans the most significant 6 bits. The remaining 2 bits of the ToS byte are reserved for ECN
question
Compare the DS field with the ToS byte
answer
The DS field defined by RFC occupies ToS byte in the IPv4 packet format. So its length is one byte.
question
When do we have a Class Selector PHB?
answer
when the least significant 3 bits of the DSCP field are set to 0, we have a class selector.
question
Define Class Selector Codepoints
answer
They are the possible values of Class Selector PHB
question
true/false: Class Selector codepoints get similar treatment regardless of their orders.
answer
false. The higher the order of the Class Selector codepoint, the better the timely forwarding is.
question
What is the purpose of Class Selector PHB?
answer
backward compatibility with IP Precedence-based devices.
question
What is the format of Class Selector codepoints?
answer
Class Selector PHB is written as xxx000 in binary
question
true/false: for better packet treatment, it is recommended to use Class Selector codepoints of DSCP 48 and DSCP 56.
answer
False. These codepoints (48 /8 = CS6 and 56 /8 = CS7) are reserved for routing traffic and must not be used for user-defined traffic.
question
How de we find the DSCP value of a Class Selector codepoint?
answer
To convert a Class Selector codepoint to its DSCP value, multiply by 8. For example, the DSCP value of CS2 is 2*8 = 16.
question
Why, in networking, do we have Class Selector codepoints?
answer
The purpose of creating codepoints for Class Selector PHB is to give preferential timely forwarding of packets, according to the order of the codepoint.
question
true/false: DiffServ model is highly scalable
answer
true
question
Define Congestion Avoidance
answer
a mechanism that drops packets based on QoS markings before a congestion occurs
question
Define Policing
answer
a mechanism that drops misbehaving packets to maintain network integrity
question
Define Shaping
answer
a mechanism to control traffic by delaying bursts
question
Define Congestion Management
answer
a mechanism that prioritizes the transmission of packets based on QoS markings.
question
What are the three parameters that must be defined for a traffic class, in a QoS policy?
answer
- bandwidth (minimum and maximum) - priority - queuing strategy
Get an explanation on any task
Get unstuck with the help of our AI assistant in seconds
New