Tuesday, May 26, 2026

Advanced QoS with MQC (Modular QoS CLI) for Enterprise Wireless Networks – Part 14

QoS with Modular QoS Command-Line Interface MQC Part 14

Advanced Wireless Architecture Part 14 — QoS with Modular QoS Command-Line Interface (MQC)

Modern enterprise wireless networks carry multiple traffic types simultaneously including voice, video, collaboration traffic, IoT telemetry, cloud applications, streaming services, and business-critical applications.

Without Quality of Service (QoS), latency-sensitive traffic may suffer from jitter, packet loss, congestion, and poor application performance.

Cisco Modular QoS Command-Line Interface (MQC) provides a structured and scalable framework for implementing enterprise QoS policies across switching, routing, and wireless infrastructures.

In this advanced guide, we explore QoS fundamentals, MQC architecture, classification, marking, policing, shaping, queuing, wireless QoS optimization, enterprise traffic prioritization, and advanced QoS troubleshooting.

What You Will Learn in Part 14
  • QoS fundamentals
  • Why QoS matters in enterprise WLANs
  • MQC architecture and workflow
  • Traffic classification
  • Traffic marking and DSCP
  • Policing and shaping
  • Queuing mechanisms
  • Wireless QoS design
  • QoS trust boundaries
  • Enterprise QoS troubleshooting

Table of Contents


Introduction to QoS

Quality of Service (QoS) prioritizes important traffic during network congestion.

QoS ensures delay-sensitive applications receive predictable performance even when network resources are limited.

QoS Goals

  • Reduce latency
  • Minimize jitter
  • Prevent packet loss
  • Prioritize critical traffic
  • Guarantee bandwidth

QoS Formula

$$ QoS = Priority + BandwidthControl + CongestionManagement $$
Important Concept

QoS does not increase bandwidth. QoS intelligently manages existing bandwidth resources.


Why QoS Matters

Enterprise wireless networks carry multiple traffic classes simultaneously.

Examples

Traffic Type Sensitivity
Voice Very High
Video High
Email Low
Backups Very Low

Voice Requirements

$$ Latency < 150ms $$ $$ Jitter < 30ms $$ $$ PacketLoss < 1\% $$

Without QoS

  • Voice distortion
  • Video freezing
  • Application delays
  • Wireless congestion

Introduction to MQC

Modular QoS Command-Line Interface (MQC) is Cisco’s structured framework for implementing QoS policies.

MQC Components

Component Purpose
Class Map Classify traffic
Policy Map Define actions
Service Policy Apply policy

MQC Workflow

$$ Classification \rightarrow Policy \rightarrow Enforcement $$

MQC Logic

  1. Identify traffic
  2. Assign policy
  3. Apply treatment

Traffic Classification

Traffic classification identifies traffic types requiring special handling.

Classification Methods

  • Access Control Lists
  • DSCP values
  • Protocols
  • Applications
  • IP precedence

Class Map Example


class-map match-any VOICE

 match ip dscp ef

Explanation

This class-map identifies voice traffic marked with DSCP EF.

Verification


show class-map

Traffic Marking

Traffic marking labels packets with QoS priority information.

Common Marking Types

Marking Layer
DSCP Layer 3
CoS Layer 2
IP Precedence Layer 3

Common DSCP Values

Traffic DSCP
Voice EF (46)
Video AF41
Best Effort 0

Marking Formula

$$ Priority = DSCP + CoS $$

Policy Map Example


policy-map QOS-POLICY

 class VOICE

  priority percent 30

Policing

Policing limits traffic rates by dropping or remarking packets exceeding configured thresholds.

Policing Purpose

  • Prevent abuse
  • Protect bandwidth
  • Enforce SLAs
  • Control congestion

Policing Formula

$$ TrafficRate \leq ConfiguredLimit $$

Policer Configuration


policy-map POLICE-POLICY

 class class-default

  police 10000000

Explanation

Traffic exceeding 10 Mbps may be dropped or remarked.


Traffic Shaping

Traffic shaping buffers packets temporarily instead of dropping them immediately.

Shaping Benefits

  • Smoother traffic flow
  • Reduced packet loss
  • Better WAN performance
  • Improved application stability

Shaping Formula

$$ AverageRate \approx ConfiguredRate $$

Shaping Configuration


policy-map SHAPE-POLICY

 class class-default

  shape average 20000000

Queuing Mechanisms

Queuing determines packet transmission order during congestion.

Common Queuing Types

Queuing Method Purpose
FIFO First in first out
LLQ Low latency voice queue
CBWFQ Class-based bandwidth allocation

LLQ Formula

$$ VoiceTraffic \rightarrow PriorityQueue $$

Queuing Example


policy-map WAN-QOS

 class VOICE

  priority percent 30

 class VIDEO

  bandwidth percent 25

Verification


show policy-map interface

Wireless QoS

Wireless QoS is critical because WLAN airtime is a shared medium.

Wireless QoS Categories

Category Priority
Voice Highest
Video High
Best Effort Medium
Background Lowest

802.11e Access Categories

  • AC_VO
  • AC_VI
  • AC_BE
  • AC_BK

Wireless Airtime Formula

$$ Airtime \propto \frac{FrameSize}{PHYRate} $$

Slow clients consume more airtime.

Wireless QoS Recommendations

  • Prioritize voice traffic
  • Use DSCP preservation
  • Enable WMM
  • Optimize RF coverage

QoS Trust Boundaries

Trust boundaries determine where QoS markings are accepted.

Why Trust Boundaries Matter

  • Prevent malicious marking
  • Maintain QoS consistency
  • Protect infrastructure

Typical Trust Boundary

$$ AccessLayer \rightarrow TrustDecision $$

Trust Example


mls qos trust dscp

QoS Mathematics

Bandwidth Allocation Formula

$$ AllocatedBandwidth = TotalBandwidth \times Percentage $$

Example

100 Mbps link with voice priority:

$$ 100 \times 0.30 = 30Mbps $$

Queue Delay Formula

$$ Delay = \frac{QueueDepth}{TransmissionRate} $$

Packet Loss Formula

$$ Loss = DroppedPackets - ReceivedPackets $$

Enterprise Design Best Practices

  • Classify traffic close to source
  • Use DSCP consistently
  • Deploy LLQ for voice traffic
  • Use shaping on WAN circuits
  • Avoid over-prioritization
  • Validate wireless QoS mappings
  • Monitor queue utilization
  • Document QoS policies carefully
  • Use trust boundaries appropriately
  • Test QoS during congestion
Design Recommendation

Enterprise wireless infrastructures should use end-to-end QoS policies with DSCP preservation, LLQ for voice traffic, and consistent MQC deployment across switching, routing, and wireless platforms.


Troubleshooting QoS

Common Problems

  • Incorrect DSCP markings
  • Queue starvation
  • Voice jitter
  • Bandwidth oversubscription
  • Trust boundary misconfiguration
  • Wireless QoS mismatch

Troubleshooting Commands


show policy-map interface

show class-map

show queueing interface

show mls qos

show wireless qos

show platform qos
Expand Sample QoS Statistics Output

Router# show policy-map interface

Class-map: VOICE

  105432 packets

  9876543 bytes

  Offered rate 320 kbps

  Drop rate 0 kbps

Final Takeaway

QoS with MQC is one of the most important technologies in enterprise wireless and campus networking. Modern applications such as voice, video, collaboration platforms, and cloud services require predictable network performance under congestion conditions.

Understanding classification, marking, shaping, policing, queuing, and wireless QoS optimization enables engineers to design scalable enterprise infrastructures capable of delivering reliable application performance across complex wireless and wired environments.


Related Articles

No comments:

Post a Comment

Featured Post

How HMT Watches Lost the Time: A Deep Dive into Disruptive Innovation Blindness in Indian Manufacturing

The Rise and Fall of HMT Watches: A Story of Brand Dominance and Disruptive Innovation Blindness The Rise and Fal...

Popular Posts