CIR=Bc/Tc

當我們談論到CAR(Committed Access Rate)時,請務必要把這個公式記在腦海中,CIR=Bc/Tc,在計算時要注意單位的差異(Bytes/Bits),Cisco IOS無法定義Tc,因此只要定義出CIR,Bc就可以產生Tc的數值。

  • CIR(Committed Information Rate)(單位: Bits Per Second)
  • Bc(Committed Burst)(單位: Bytes)
  • Tc(Committed Time Interval)(單位: Seconds)

【例】CIR=32Kbps,Tc=1.5 Sec
=> Bc=(32000/8) * 1.5=6000 (Bytes)



在設定CAR指令時就可以這樣設定
R1(config)#int s0/0/0
R1(config-if)#rate-limit output 32000 6000 12000 conform-action transmit exceeding-action drop


其中32000 bps是CIR,6000 bytes是Bc,12000 bytes是Be(Excess Burst)

Comments

Popular posts from this blog

L2TPv3 Enables Layer 2 Services for IP Networks

TCP/IP 明確擁塞通知 (ECN)

Q-in-Q(Dot1Q Tunnel) Sample Configuration