Notes
Guaranteeing Teams and Webex quality across a cross-China MPLS WAN
Real-time collaboration is not traffic that tolerates being slow — it either works or the meeting fails. This one lives or dies on the DSCP trust boundary and per-class policing at the WAN edge.
Situation
China-region branches reached the company over a cross-China MPLS backbone, and almost every meeting this team held ran on Microsoft Teams or Cisco Webex. Data applications were healthy on those same circuits, so the dashboards were green; what people experienced was audio breaking up, speech cutting out mid-sentence, a face frozen on the screen. That is the essential difference between real-time traffic and data — it does not tolerate being slower, it either works or the meeting does not happen. The second difficulty was more technical: one meeting is a consortium of flows. Media, media retransmission, signalling and call control, and a relayed fallback for when UDP is blocked all travel together — they should not be treated identically, yet were routinely queued as one.
Approach
I refused the first proposed remedy, which was more bandwidth, because on collaboration traffic that is usually not the bottleneck. Instead: define media and its companions separately; put the marking trust boundary at one explicit place; turn our classes and the carrier’s classes into a written mapping both sides accept; and only then do the queueing, policing and shaping at the WAN edge. The verdict had to come from jitter, loss and one-way delay — the three things that actually kill a call. Interface utilisation is not one of them.
What I actually did
- Classified it: conversational audio and video into EF, conferencing media into AF41, signalling and call control into AF21, with explicit handling for the fallback that switches to TLS when UDP is blocked. That last flow behaves like data and needs like real-time, which is exactly why it gets missed.
- Set the trust boundary: inbound DSCP trusted only on the known collaboration entry points, every other interface re-marked from scratch. The reasoning is blunt — trusting DSCP on a user-facing port hands a laptop the right to decide its own priority.
- Treated ‘what does our DSCP become inside their network’ as a question needing evidence: confirmed the carrier’s ingress mapping, confirmed whether they re-mark, and compared markings before and after on the same flow at both WAN edges. Guessing here turns later incident reviews into two teams reciting their own outputs.
- Shaped egress inside the carrier’s committed rate so their policer never has cause to act on our burst. The point: queue on our side rather than have EF discarded at their ingress.
- Set each per-class policer slightly above what the media genuinely needs. A policer clipping EF sounds like a person cut off mid-sentence — the hardest kind of fault to have believed is a configuration artefact.
- Observed with an IP SLA jitter probe and responder between the two WAN edges, plus per-class queue and drop counters and flow records — the combination that lets you prove ‘there is jitter’ and ‘a class is dropping’ as two separate facts.
- Validated with test calls from the same endpoints in the same meeting shape, one round before and one after, one change per window. Archived the configuration first so a revert applies the previous config instead of unpicking it by hand, used commit confirmed on the Junos side for a time-bounded revert, and wrote ‘quality worse than baseline means revert’ as an explicit trigger.
Outcome
Once marking, trust boundary and egress shaping agreed with each other, the same branches raised no further reports of broken-up audio or dropped speech. The second result is less photogenic but lasts longer: the DSCP-to-carrier-class mapping became a written artefact both sides accepted and that we had actually measured, so conversations about whose segment was at fault moved from opinion to data. Third, a per-class counter baseline and a repeatable test-call routine, so the next ‘meetings are stuttering again’ starts from a baseline, not an instinct.
What I would do differently
I would bring the carrier in at the start: on cross-border real-time traffic the expensive resource is time, not commands. I would also capture endpoint-side media-quality records before remediating anything, because counters on my side can prove how packets travelled and where they queued, but cannot on their own prove what the people in the meeting heard.