Explain full QoS pipeline in a switch
Explain full QoS pipeline in a switch
At ingress, packets are parsed, classified, optionally remarked, and policed using token bucket meters.
Accepted packets are buffered and forwarded through the switch fabric.
At egress, packets are placed into queues, scheduled using algorithms like strict priority or WRR, optionally shaped to enforce rate limits, and then transmitted.
Ingress Port
↓
Parser
↓
Classification (ACL / DSCP / VLAN / etc.)
↓
Remarking (optional)
↓
Policing (Token Bucket Meter)
↓
Ingress Buffer / VOQ Admission
↓
Switch Fabric
↓
Egress Queue
↓
Congestion Detection (Queue depth thresholds)
↓
Congestion Action:
- ECN Marking
- WRED Drop
- PFC Trigger (if lossless class)
↓
Scheduling (SP / WRR / DWRR)
↓
Shaping (Token Bucket based)
↓
Transmit
Congestion marking such as ECN or WRED occurs at the egress stage based on queue depth thresholds. The packet is marked or dropped before scheduling and transmission, as congestion is detected at the output queue.
Comments
Post a Comment