Chap 14 - QOS (part 2) Flashcards
What does NBAR2’s Protocol Discovery do?
It enables NBAR2 to discover and get real-time statistics on applications currently running in the network.
What can be done with the statistics from the NBAR2 Protocol Discovery mode?
They can be used to define QoS classes and policies using MQC configuration.
What is Modular QOS CLI used for?
Matches protocols to classes and then applies QOS policies based on those classes.
What is Packet Marking?
QoS mechanism that colors a packet by changing a field within a packet or a frame header with a traffic descriptor so it is distinguished from other packets during the application of other QoS mechanisms
What 4 Traffic Descriptors are used when marking traffic?
- Internal: QOS groups
- Layer 2: 802.1Q/p Class of Service (CoS) bits
- Layer 2.5: MPLS Experimental (EXP) bits
- Layer 3: Differentiated Services Code Points (DSCP) and IP Precedence (IPP)
What is the Traffic Descriptor ‘Internal: QOS Groups’ used for and when are they removed?
QoS groups are used to mark packets as they are received and processed internally within the router and are automatically removed when packets egress the router.
When are QOS Groups used?
They are used only in special cases in which traffic descriptors marked or received on an ingress interface would not be visible for packet classification on egress interfaces due to encapsulation or de-encapsulation.
When does congestion take place?
When the maximum capacity of the lowest-bandwidth link is surpassed.
What is 802.1q?
is an IEEE specification for implementing VLANs in Layer 2 switched networks.
How many bits is the TPID Field, what does TPID stand for, and what is its value on an 802.1q frame?
- 16 bits
- Tag Protocol Identifier
- Set to 0x8100 identifying it as an 802.1q frame
How many bits are in the TCI Field in an 802.1q frame and what does TCI stand for?
- 16 bits
- Tag Control Information
What are 3 components of the TCI Field and how many bits are in each?
- Priority Code Point (PCP) 3 bits
- Drop Eligible Indicator (DEI) 1 bit
- VLAN Identifier (VLAN ID) 12 bits
What does 802.1p standard describe?
The PCP field
What is the PCP field used for?
This field is used to mark packets as belonging to a specific CoS.
What are the 8 COS settings?
- 0 - Background
- 1 - Best Effort (default)
- 2 - Excellent Effort
- 3 - Critical Applications
- 4 - Video (< 100 ms latency and jitter
- 5 - Voice (< 10 ms latency and jitter)
- 6 - Internetwork Control
- 7 - Network Control
What are the 8 COS acronyms?
- 0 - BK
- 1 - BE
- 2 - EE
- 3 - CA
- 4 - VI
- 5 - VO
- 6 - IC
- 7 - NC
What is a drawback to using COS?
Frames lose their CoS markings when traversing a non-802.1Q link or a Layer 3 network.
What is the solution to the problem of COS markings being lost on non-802.1q links?
Mark the frames at a higher level by mapping the COS markings into TOS values at the router
How many bits is the DEI (Drop Eligible Indicator), what can be done with it, and what is its default value?
- 1 bit
- Can be used independently or in conjunction with PCP to indicate frames that are eligible to be dropped during times of congestion.
- Default is 0
In the DEI bit what is the default setting and what does it mean?
0 indicating the frame cannot be dropped
What is the VLAN ID field?
It is a 12-bit field that defines the VLAN used by 802.1Q.
How many bits are in the TOS field, where is it located in the IP header, what fields make up the TOS field when used for IPP?
- 8 bit field
- Sits btw the Header Length and Total Length fields of the IP Header
- Only the most significant 3 bits are used as IPP (IP Precedense) with the rest of the bits unused
What are the possible values of the 3 IPP bits?
Range in values between 0 to 7 however 6 and 7 are reserved for internal network use
What is the TOS byte called in IPV6?
Traffic Class byte
How have newer standards redefined the TOS Byte?
Redefined it to the DiffServ byte
What is the DiffServ byte composed of?
- 6 bits are DSCP allowing values 0 to 63
- 2 bits used for Explicit Congestion Notification (ECN)
What is the DiffServ byte used for?
Used to mark packets according to their classification into DiffServ Behavior Aggregates (BAs).
What is a Behavior Aggregate?
It is a collection of packets or applications with the same DiffServ value crossing a link in a particular direction.
What is Per Hop Behavior?
It is the externally observable forwarding behavior (forwarding treatment) applied at a DiffServ-compliant node to a collection of packets with the same DiffServ value crossing a link in a particular direction (DiffServ BA).
What does a Per Hop Behavior do?
PHB is expediting, delaying, or dropping a collection of packets by one or multiple QoS mechanisms on a per-hop basis, based on the DSCP value.
Where should only simple PHB, based on DiffServ BAs be done?
At the Core of the network.
What should be done at the network edge?
The edge devices should perform classification, marking, policing, and shaping operations.
What are the 4 PHBs have been defined and characterized for general use?
- Class Selector (CS) PHB
- Default Forwarding (DF) PHB
- Assured Forwarding (AF)
- Express Forwarding (EF) PHB
What is the Class Selector (CS) PHB used for?
The first 3 bits of the DSCP field are used as CS bits. The CS bits make DSCP backward compatible with IP Precedence because IP Precedence uses the same 3 bits to determine class.
What is Default Forwarding (DF) PHB used for?
Best-effort service
What is Assured Forwarding (AF) PHB used for?
Used for guaranteed bandwidth service
What is Express Forwarding (EF) PHB used for?
Used for low delay service
Why was the Class Selector (CS) PHB defined?
To provide backward compatibility for DSCP with IP Precedence (IPP).
How does DSCP provide backward compatibility with IPP?
To achieve backward compatibility set the first 3 bits of the DSCP field to 0. Then use the last 3 bits to get the same values (0 thru 7) that IPP would have had.
What are 4 times when Best Effort forwarding is done?
- When the DSCP value is all 0’s
- When packets cannot be classified by a QoS mechanism such as queueing, shaping, or policing
- When a QoS policy on the node is incomplete
- When DSCP values are outside the ones that have been defined for the CS, AF, and EF PHBs.
What 2 things does Assured Forwarding (AF) do?
- It guarantees a certain amount of bandwidth to an AF class
- Allows access to extra bandwidth, if available.
What are the Assured Forwarding settings?
- Queues - 1 (worst) to 4 (best)
- Drop Possibility - 1 (most likely) to 3 (least likely)
What is the formula for calculating the binary number of an AF value?
8x + 2y where x=IP Precedence and y=Drop Probability so for AF23 it would be 8(2) + 2(3) = 22 binary
What is the AF name composed of?
Afxy where x=IP Precedence and y=Drop Probability
What is Weighted RED?
- Weighted Random Early Detection
- A congestion avoidance algorithm
- Can use DSCP or IPP to drop more aggressively
For Assured Forwarding and Expedited Forwarding which of the two does policing and which does Congestion avoidance?
Assured Forwarding does Congestion Avoidance and Expedited Forwarding does Policing
In Assured Forwarding what is the first bit of the DSCP field always set to?
First DSCP bit is always set to 0
In Assured Forwarding what is the format of the DSCP field?
aaadd0 where aaa is the binary value of the AF class and dd is the binary value of Drop Probability, and the last bit is always set to 0
In the 2 COS settings for voice and video what are the maximum latency/jitter values for each?
- Voice > 10
- Video > 100