A phone, a video endpoint and a PC share a 10 Mb/s WAN contract. Decide what SW1 trusts and marks, how R1 queues, and whether it polices or shapes, and watch every class's loss, delay and jitter move as you do.
4.7Explain the forwarding per-hop behavior (PHB) for QoS, such as classification, marking, queuing, congestion, policing, and shaping
01Live network
Classify, mark, queue, shape.
The chip on each endpoint's cable is the DSCP it leaves SW1 with (EF→0 means SW1 re-marked it). Markers on SW1 say what each port does: T trusts, M marks, 0 re-marks. Click SW1 for the trust boundary, R1 for queuing and the edge, or the PC to push more data.
Live network · QoS · simulated
TPort trusts DSCP
0Port re-marks to 0
Simulated: the rates, delays, jitter and console output are Loopback's model of a branch router, not a measurement. Real results depend on codecs, buffers and TCP behavior; this model keeps the per-hop logic and uses fixed delay figures so the patterns are clear. The voice and video targets are Cisco's.
02Tasks
Solve the task and the network checks your work.
Each task loads its own starting point onto the network. Solve it from the console or with clicks; the checks tick live, and you see one model answer when you're done.
03What happens if
Predict the result, then watch it happen.
Eight QoS traps: what policing does, what shaping costs, where to trust, EF and AF41 values, the LLQ limit, the voice targets and tail drop. Pick what happens, then load it.
04Drills
A new question every round, so nothing is memorized.
Convert DSCP names and numbers, name each per-hop behavior, pick the right tool and know the marking fields. Build a streak.
05Recall sheet
The whole topic on one sheet.
The numbers, orders and commands the network runs on. Cover a column and say it before you look.
Per-hop behaviors
Classify
Decide the class (ACL, NBAR, existing marking)
Mark
Write DSCP or CoS
Queue
Pick what goes next when the link is busy
Avoid congestion
WRED drops early, at random
Police
Drop or re-mark above a rate, now
Shape
Buffer above a rate, send later
Markings
EF
46, voice
AF41
34, interactive video
AFxy
8x + 2y; higher y drops first
CSx
8x
CoS
3 bits in the 802.1Q tag; voice 5
Queuing
FIFO: one queue; when full, tail drop hits everything.
CBWFQ: a guaranteed bandwidth per class.
LLQ: CBWFQ plus a strict priority queue for voice, policed to its rate during congestion.
Queuing only matters when the link is congested.
Voice and video targets
One-way delay
≤ 150 ms
Jitter
≤ 30 ms
Loss
≤ 1%
Police or shape
Policing
No delay; drops or re-marks the excess; bursty output. Use it to cap a class (inbound, or for guests).
Shaping
Adds delay; buffers the excess; smooth output. Use it outbound toward a provider that polices at the contract rate, so your own queues choose what waits.
Trust boundary
As close to the source as you can trust: usually the access port, trusting IP phones and re-marking PCs.