300-070 · Question #93
What is the difference between policing and shaping?
The correct answer is C. Policing: Transmit, drop or mark, then transmit the packets. Shaping: Buffer the exceeding. Traffic policing enforces a rate limit by taking an immediate action on packets that exceed the configured rate: conforming packets are transmitted, and exceeding packets are either dropped or re-marked (e.g., lowering the DSCP value) and then transmitted. It does not introduce…
Question
What is the difference between policing and shaping?
Options
- APolicing: Transmit and mark, then transmit the packets. Shaping: Buffer the exceeding packets.
- BPolicing: Transmit the packets. Shaping: Buffer the exceeding packets.
- CPolicing: Transmit, drop or mark, then transmit the packets. Shaping: Buffer the exceeding
- DPolicing: Buffer the exceeding packets. Shaping: Transmit and mark, then transmit the packets.
How the community answered
(18 responses)- A6% (1)
- C89% (16)
- D6% (1)
Explanation
Traffic policing enforces a rate limit by taking an immediate action on packets that exceed the configured rate: conforming packets are transmitted, and exceeding packets are either dropped or re-marked (e.g., lowering the DSCP value) and then transmitted. It does not introduce delay. Traffic shaping also enforces a rate limit, but instead of dropping excess packets, it places them in a queue (buffer) and transmits them later when the rate falls below the limit-smoothing the traffic flow at the cost of added delay and memory. Option A is wrong because it omits the drop action for policing. Option B is wrong because it omits the mark-then-transmit action. Option D reverses the two behaviors entirely.
Topics
Community Discussion
No community discussion yet for this question.