CCNA QoS Interview Questions: Marking, Queuing, Policing and Shaping Explained

Discover CCNA interview questions on Quality of Service (QoS) with detailed answers and explanations. This guide covers essential QoS concepts, including traffic classification, marking, shaping, policing, and queuing. Prepare for your CCNA exam and boost your network management skills with insights into QoS for VoIP, bandwidth allocation, and more. Perfect for CCNA exam preparation and enhancing your understanding of network traffic management.

Aug 14, 2024 - 16:14
Updated: 1 month ago
103.3k
CCNA QoS Interview Questions: Marking, Queuing, Policing and Shaping Explained

Quick answer: Quality of Service (QoS) manages how a network treats different traffic when capacity is limited. Interviews cover why voice needs low delay, jitter and loss; how traffic is classified and marked (DSCP, CoS); queuing methods such as CBWFQ and LLQ; and the difference between policing, which drops excess traffic, and shaping, which buffers it.

Key takeaways

  • QoS only matters when there is congestion. It does not create bandwidth. It decides who waits or drops first.
  • Voice is sensitive to delay, jitter and loss. Common targets: one-way delay under 150 ms, jitter under 30 ms and loss under 1 percent.
  • Remember the sequence: classify, mark, queue and schedule, then police or shape. Mark close to the source, at the trust boundary.
  • DSCP EF (46) is the usual marking for voice. AF41 (34) is common for interactive video. CS3 (24) is often call signalling.
  • Policing drops or re-marks excess traffic. Shaping delays it with buffers and smooths the rate.

What is QoS and why is it needed?

Quality of Service is the set of tools that give different traffic different treatment, so important or delay-sensitive applications keep working when a link is congested. On an idle network, QoS does nothing visible. When a link fills up, QoS decides which packets are queued, delayed or dropped first. CCNA 200-301 expects you to explain the per-hop behaviour concepts: classification, marking, queuing, congestion handling, policing and shaping. The Cisco certifications page lists the current exam topics.

What are delay, jitter and packet loss?

TermMeaningEffect on voice
Delay (latency)Time for a packet to travel from source to destinationConversations feel awkward, people talk over each other
JitterVariation in delay between packetsChoppy or robotic audio
Packet lossPackets that never arriveGaps and clipped words

Commonly quoted guidelines for voice are one-way delay of 150 ms or less, jitter of 30 ms or less and loss of 1 percent or less. These are widely used planning numbers; check them against your vendor's design guide.

Why does voice traffic need QoS?

Voice packets are small, sent at regular intervals and cannot be retransmitted usefully, because a late packet is a lost packet. A large file transfer sharing the same link can fill queues and delay voice packets. QoS puts voice into a priority queue so it is sent first, within limits.

What are the QoS steps?

  1. Classification: identify the traffic, by ACL, protocol, port, existing marking or application recognition.
  2. Marking: set a value in the packet so other devices can treat it consistently. Layer 2 uses CoS (802.1p, 3 bits in the VLAN tag). Layer 3 uses DSCP (6 bits in the IP header, in the ToS or Traffic Class field).
  3. Queuing and scheduling: place packets in queues and decide the order they are sent.
  4. Congestion avoidance: drop some packets early (for example WRED) to slow TCP senders before queues overflow.
  5. Policing and shaping: enforce or smooth traffic rates.

Which DSCP values should you know?

NameDSCP valueTypical use
EF (Expedited Forwarding)46Voice media
AF4134Interactive video
CS324Call signalling
AF2118Transactional data
CS18Scavenger, low priority
Default (BE)0Best effort

What is a trust boundary?

The trust boundary is where a device decides whether to believe markings from the sender. Typically you trust markings from an IP phone but not from a user PC, so the access switch re-marks or trusts selectively. Marking as close to the source as possible, then trusting it inside the network, keeps policies simple.

What queuing methods do interviewers ask about?

  • FIFO: first in, first out, no differentiation.
  • WFQ and CBWFQ: weighted fair queuing, with class-based configuration giving each class a minimum bandwidth.
  • LLQ (low latency queuing): CBWFQ plus a strict priority queue for voice. Priority traffic is policed so it cannot starve other classes.

What is the difference between policing and shaping?

PolicingShaping
Excess trafficDropped or re-markedBuffered and sent later
Effect on delayNo added delayAdds delay and may add jitter
DirectionInbound or outboundOutbound only
Typical useEnforce a contract rate, limit a classMatch a slower WAN or provider rate

What does a basic QoS configuration look like?

Cisco IOS uses the Modular QoS CLI (MQC): class-map to classify, policy-map to act, service-policy to apply. The example is for study in a lab, and values must match your own design.

class-map match-any VOICE
 match dscp ef
class-map match-any SIGNALING
 match dscp cs3
!
policy-map WAN-OUT
 class VOICE
 priority percent 20
 class SIGNALING
 bandwidth percent 5
 class class-default
 fair-queue
!
interface GigabitEthernet0/0
 service-policy output WAN-OUT

Check it with show policy-map interface GigabitEthernet0/0, which shows matched packets and drops per class. To mark traffic from a phone VLAN on a switch you would use mls qos trust or platform-specific commands, which differ by switch family.

Sample interview questions to practise

  1. A user complains calls are choppy only during file backups. How do you confirm and fix it?
  2. Where would you mark traffic and why?
  3. When would you shape and when would you police?
  4. What does "priority percent 20" guarantee, and what does it limit?
  5. How do you verify QoS works on an interface?

Next steps

To build and test these configurations, see WebAsha's CCNA training. More prep: CCNA interview questions and CCNA voice interview questions.

Related reading

Frequently Asked Questions

QoS, quality of service, is the set of tools that give different traffic different treatment when a link is congested. It classifies and marks traffic, queues it and applies policing or shaping so critical applications keep working.

Policing drops or re-marks traffic above a configured rate without adding delay. Shaping buffers excess traffic and sends it later, which adds delay but smooths the rate. Shaping works outbound only, while policing can be inbound or outbound.

Delay is the time a packet takes to arrive, jitter is the variation in that delay, and packet loss is packets that never arrive. Voice is sensitive to all three, so it is prioritised.

Voice packets are small, regular and cannot usefully be retransmitted, so late packets are as bad as lost ones. QoS puts voice in a priority queue so bulk traffic does not delay it during congestion.

Voice media is usually marked EF, which is DSCP 46. Call signalling is often CS3 (24) and interactive video AF41 (34). Marking should happen close to the source at the trust boundary.

Low latency queuing is CBWFQ with a strict priority queue for delay-sensitive traffic such as voice. The priority queue is limited by a policer so it cannot starve other classes.

What's Your Reaction?

Like Like 0
Dislike Dislike 0
Love Love 0
Funny Funny 0
Wow Wow 0
Sad Sad 0
Angry Angry 0
Anjali

I am passionate about technology, invention and big challenging tasks on my to- do list. In terms of the work I am doing also at Bunnyshell, I am most passionate about the technologies that we are using., I'm devoted to delivering content that not only informs but also inspires. Whether you need in- depth analysis pieces, educational attendants, or study- provoking opinion pieces, I draft content that resonates with tech suckers and professionals likewise.