Showing posts with label traffic policing. Show all posts
Showing posts with label traffic policing. Show all posts

Friday, January 16, 2026

When Voice Quality Collapses: QoS Success Metrics That Don’t Measure Reality

When Voice Breaks Despite QoS: Hidden Failure Modes Engineers Miss

When Voice Breaks Despite QoS: Hidden Failure Modes Engineers Miss

QoS rarely fails loudly. It fails quietly—while dashboards stay green and users grow frustrated.

This article goes beyond configuration correctness and examines why theory-perfect QoS designs still collapse under real voice traffic.

Symptoms → Root Cause Mapping

Symptom Hidden Root Cause
Choppy / robotic voice Micro-bursts + jitter amplification from shallow buffers
One-way audio Asymmetric routing or NAT pinholing issues on RTP return path
Drops only during peak Priority queue starvation or policing under burst conditions
Works in test, fails in production Synthetic traffic not modeling codec behavior
Intermittent, non-repeatable issues QoS drift + non-stationary traffic patterns

Explicit Failure Case: Policing vs Shaping

Voice traffic is frequently policed because it is “low bandwidth”. This is a fatal assumption.

Policing enforces rate by dropping packets. RTP does not retransmit. Every drop is audible.

Shaping, on the other hand, absorbs bursts and smooths delivery—exactly what conversational traffic requires, as explained in modern traffic shaping models .

If voice sounds worse after “tightening controls,” check for misplaced policers.

QoS Anti-Patterns (Callout)

  • Equating priority with immunity
  • Policing latency-sensitive traffic
  • Ignoring return-path symmetry
  • Designing QoS without application behavior
  • Trusting utilization graphs over complaints

Bufferbloat vs Voice (Counterintuitive but Critical)

Bigger buffers feel safer. For voice, they are dangerous.

Excess buffering increases latency and jitter, destroying conversational flow. This tradeoff is often misunderstood and explored in buffer management discussions .

Voice prefers predictable delay over zero loss. Bufferbloat delivers the opposite.

Queue Interaction & Priority Starvation (The Dark Side of LLQ)

Low-Latency Queues (LLQ) can starve other queues—or themselves—under load.

When multiple “priority” classes exist, contention becomes invisible. Voice competes with signaling, video, and misclassified traffic.

Priority without admission control is not protection—it’s roulette.

Control Plane vs Media Plane Mismatch

SIP (control) and RTP (media) often take different paths, receive different markings, or traverse different NAT states.

Calls establish cleanly, then fail mid-conversation. The signaling succeeded. The media didn’t.

QoS that protects SIP but neglects RTP is functionally broken.

Asymmetric Routing & NAT Side Effects

Asymmetric paths break QoS assumptions:

  • Different congestion points
  • Inconsistent DSCP handling
  • NAT rewriting RTP ports unpredictably

One-way audio is often a routing problem wearing a QoS disguise.

Encryption & Classification Blindness (Modern Reality)

TLS, SRTP, QUIC—modern networks hide payloads.

Port-based classification collapses, a challenge mirrored in modern traffic classification challenges .

If classification is wrong, every downstream QoS decision is wrong—perfectly.

Why Synthetic Tests Lie (iperf ≠ Voice)

iperf measures throughput and loss. Voice cares about timing and burst behavior.

Synthetic tests do not:

  • Model silence suppression
  • React to jitter
  • Expose codec adaptation

Passing iperf proves capacity—not call quality.

Codec & Application Behavior (QoS Is Not Codec-Aware)

Codecs adapt. QoS does not.

Packetization interval, bitrate shifts, and PLC (packet loss concealment) all change traffic behavior dynamically.

QoS that assumes fixed-rate voice is optimizing for a codec that no longer exists.

The Human Feedback Loop (Why Complaints Matter)

Users report issues before metrics detect them.

Complaints are not noise—they are early-warning signals that packet-level telemetry cannot capture.

Ignoring them delays root cause discovery.

Operational Reality: QoS Drift Over Time

Networks evolve:

  • New applications appear
  • Bandwidth profiles change
  • Policies accrete without revalidation

QoS designed once and never revisited will eventually optimize the wrong traffic.

End-to-End Path Reality Check

QoS is only as strong as the weakest unmanaged hop.

WAN, campus, VPN, cloud, ISP—every segment must align. One remarking device can undo everything upstream.

Final Design Checklist (Extremely Valuable)

  • ✔ Shaping, not policing, for voice
  • ✔ Symmetric QoS on forward and return paths
  • ✔ Buffer sizes validated for latency, not loss
  • ✔ Admission control for priority queues
  • ✔ Classification that survives encryption
  • ✔ RTP treated as first-class traffic
  • ✔ User complaints correlated with metrics
  • ✔ Periodic QoS revalidation
If your QoS looks perfect but voice sounds bad, the design is answering the wrong question.

QoS must optimize conversations—not just packets.

Friday, October 25, 2024

Configuring Traffic Policing on Cisco ASA Post-9.7: A Modern Approach


Cisco ASA Traffic Policing Post 9.7 – Complete Guide

๐Ÿšฆ Cisco ASA Traffic Policing Post-9.7 – Complete Educational Guide

๐Ÿ“– Introduction

Traffic management is critical in modern networks where multiple applications compete for bandwidth. Without control, high-bandwidth applications can degrade performance for critical services.

๐Ÿ’ก Core Idea: Traffic policing enforces strict limits by dropping excess packets instantly.

⚖️ Policing vs Shaping

Traffic Shaping

Shaping delays packets and smooths traffic flow. It buffers data before sending it.

Traffic Policing

Policing enforces a hard limit. Excess traffic is dropped immediately.

๐Ÿ”ฝ Expand: Real-world analogy

Shaping = traffic signal controlling flow Policing = strict gate that blocks extra vehicles

๐Ÿ“Š Bandwidth Logic Explained

Example policing rule:

police output 1000000

This means 1,000,000 bits per second (1 Mbps).

If incoming rate exceeds this:

  • Conforming packets → allowed
  • Exceeding packets → dropped
๐Ÿ’ก Important: Policing does not queue packets — it drops them instantly.

๐Ÿš€ Why ASA 9.7+ is Better

  • Granular class-based control
  • Hierarchical policing
  • QoS integration
๐Ÿ”ฝ Expand: What is Hierarchical Policing?

It allows nested policies. You can control traffic globally and within specific classes simultaneously.

⚙️ Configuration Steps

Step 1: Create Access List

access-list HTTP_TRAFFIC_ACL extended permit tcp any any eq 80

Step 2: Create Class Map

class-map HTTP_TRAFFIC_CLASS
 match access-list HTTP_TRAFFIC_ACL

Step 3: Create Policy Map

policy-map POLICE_HTTP_POLICY
 class HTTP_TRAFFIC_CLASS
  police output 1000000 conform-action transmit exceed-action drop

Step 4: Apply Policy

service-policy POLICE_HTTP_POLICY interface outside

๐Ÿ’ป CLI Output Example

ASA# show service-policy interface outside

Class-map: HTTP_TRAFFIC_CLASS
  Packets transmitted: 102345
  Packets dropped: 2345
  Current rate: 950000 bps
๐Ÿ”ฝ Expand CLI Explanation

This output shows how much traffic passed and how much was dropped due to policing.

๐Ÿ” Verification Commands

show service-policy interface outside

๐Ÿง  Best Practices

  • Use policing carefully with UDP traffic
  • Avoid aggressive limits on VoIP/video
  • Monitor regularly
  • Apply hierarchical policies for large networks
๐Ÿ”ฝ Expand: TCP vs UDP behavior

TCP adapts to packet loss. UDP does not — leading to potential quality issues.

๐ŸŽฏ Key Takeaways

  • Policing enforces strict bandwidth limits
  • ASA 9.7 introduces better control
  • Hierarchical QoS improves flexibility
  • Monitoring is essential

๐Ÿ“˜ Final Thoughts

Traffic policing is a powerful tool when used correctly. With ASA 9.7+, network administrators gain precise control over bandwidth, enabling better performance and fairness across applications.

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