Policing

  • 设置最大限速,超出后丢弃
  • 允许短期内的突发流量 (Burst),前提是Burst 出现之前有一段时间的Low activity

Where to use Policing

  • 电信进站接口
  • CIR:Committed Information Rate

Class-Based Policing (Policy Maps)

  • Single-rate,two color
  • single-rate,three color
  • Dual-rate,three color
  • Color:
    • Conform:满足CIR,正常传输
    • Exceed:超出,但小于限制,可以丢弃,也可以re-mark
    • Violate:超出最大值,通常会被丢弃

Shaping

  • 设置最大限速,超出后放入队列,企业出站接口