物理インターフェイスのシェーピングレートの設定
物理インターフェイスでシェーピングレートを設定するには、 階層レベルで ステートメントを shaping-rate
含めるか、 [edit class-of-service interfaces interface-name]
階層レベルに output-traffic-control-profile
ステートメントを [edit class-of-service interfaces interface-name]
含めます。
bpsのピーク帯域幅レートは、完全な10進数として、または省略形 k
(1000)、(1,000,000) m
、または g
(1,000,000,000)が続く10進数として指定できます。物理インターフェイスの場合、範囲は 1000~6,400,000,000,000 bps です。
タイプ 5 FPC を搭載した T4000 ルーター上の物理インターフェイスの場合、物理インターフェイスのシェーピング レート値は最低 292 Kbps である必要があります。の shaping-rate
最大値は、インターフェイスの最大送信レートによって制限されます。
以下に、T4000 12 x 10 Gbps 物理インターフェイス(xe-4/0/0)に 5 Gbps のシェーピング レートを適用する設定例を示します。
[edit class-of-service interfaces interface-name
] 階層でシェーピング レートを適用します。
[edit class-of-service] interfaces { xe-4/0/0 { shaping-rate 5g; } }
トラフィック制御プロファイルを使用したシェーピングレートの適用:
[edit class-of-service] traffic-control-profiles { output { shaping-rate 5g; } } interfaces { xe-4/0/0 { output-traffic-control-profile output; } }
設定の結果を表示するには、以下 show
のコマンドを発行します。
show class-of-service interface interface-name
show interfaces interface-name extensive