QoS Flashcards
What is QoS?
Quality of Service - a collection of technologies and methods that ensures critical application communication is delivered reliably across the network by prioritizing certain types of traffic.
What are the three QoS implementation models?
- Best Effort: no QoS
- Integrated Services (IntServ) - old
- Differentiated Services (DiffServ) - modern
What is the key component of how the Integrated Services Model (IntServ) functions?
End to End bandwidth reservations using RSVP (Resource Reservation Protocol)
What are the key component to how the Differentiated Services Model (DiffServ) functions?
- Classification and Marking of Traffic
- IP Precedence (service levels)
Given the following Layers of the OSI Model, what are the ways that traffic can be marked for classification at each layer? (Layer 1, 2, 3, 4, and 7)
- Layer 1: Interface/Port
- Layer 2: MAC Address, 802.1Q Class of Service
- Layer 3: DSCP, IP Precedence, Source/Destination IP address
- Layer 4: TCP or UDP ports
- Layer 7: NBAR (Network Based Application Recognition)
In practice, what are the most common methods to classify (identify) QoS traffic on a Cisco device?
- Access Lists (ACLs)
- Class-Maps: class maps can match traffic on an array of criteria such as interface, protocol, dscp, etc.
At Layer 2, what 802.1Q header field and sub-fields are responsible for marking traffic?
Tag Control Information (TCI) field which is composed of three sub-fields:
- Priority Code Point (PCP)
- Drop Eligible Indicator (DEI)
- VLAN Identifier (VLAN ID)
What are the possible Class of Service (CoS) marking values found in the PCP field of an 802.1Q header and which ones are more preferred?
- CS0 Background Traffic (Lowest)
- CS1 Best Effort (default)
- CS2 Excellent Effort
- CS3 Critical Applications
- CS4 Video
- CS5 Video with low jitter/latency
- CS6 Internetwork control
- CS7 Network Control (Highest)
What is the ToS field and what is the relationship to IP Precedence?
The ToS field is is an 8-bit field that is part of a packet header (Layer 3). Only the first 3 bits of the field are used and they are known as IP Precedence.
What is the ToS field and what is the relationship to the DiffServ QoS Model?
DiffServ redefines the ToS field to use 6 bits for marking traffic at Layer 3 (instead of 3) known as Differentiated Services Code Point (DSCP).
What are the four Per Hop Behavior classes that are defined in DiffServ’s DSCP marking?
- Class Selector (CS)
- Default Forwarding (DF)
- Assured Forwarding (AF)
- Expedited Forwarding (EF)
What are the DSCP marking value equivalents compared to Class of Service values?
- CS7 (No DSCP equivalent)
- CS6 (No DSCP equivalent)
- CS5 (EF)
- CS4 (AF4)
- CS3 (AF3)
- CS2 (AF2)
- CS1 (AF1)
- CS0 (BE)
When looking at DSCP values such as AF41 and AF 43 which one is more likely to be dropped?
AF43
*the second number is the drop probability - higher is more likely to be dropped.
What is special about traffic marked with CS6 and CS7
This is reserved for network control and routing protocol types of packets only.
When marking packets, what is best practice for where in the network the traffic should be marked?
As close to the source as possible.
In some cases endpoints, such as phones, can mark their own traffic. When this is not possible, it should be marked on the switch as it enters the switchport.
What is a Trust Boundary as it relates to DSCP and QoS?
The trust boundary is the concept of where a DSCP value will be trusted and forwarded on.
By default a PC connected to the PC port on a phone will have QoS markings “zeroed out” meaning that the phone will not trust the DSCP markings coming from the PC. In this scenario, the phone is the trust boundary.