ギガビット イーサネット インターフェイスへのレイヤー 2 ポリサーの適用
ギガビット イーサネット インターフェイス(または 10 ギガビット イーサネット インターフェイス[xe-fpc/pic/port
])にポリサーを適用してトラフィックをレート制限するには、ポリサーの方向、タイプ、名前を含むステートメントを含めます layer2-policer
。
[edit interfaces ge-fpc/pic/port unit 0] layer2-policer { input-policer policer-name; input-three-color policer-name; output-policer policer-name; output-three-color policer-name; }
方向(入力または出力)とタイプ(ポリサーまたは 3 色)を 1 つのステートメントに結合し、指定したポリサーを適切に設定する必要があります。
いずれかのタイプの 1 つの入出力ポリサーをインターフェイス上で設定できます。
例:ギガビット イーサネット インターフェイスへのレイヤー 2 ポリサーの適用
入力および出力ポリサーとして、カラーブラインドとカラー認識型の2レートTCMポリサーをギガビット イーサネット インターフェイスに適用します。
ge-1/0/0 { unit 0 layer2-policer { input-three-color trTCM1-cb; # Apply the trTCM1-color-blind policer. output-three-color trTCM1-ca; # Apply the trTCM1-color-aware policer. } }
2 レベルのカラーブラインドシングルレート TCM ポリサーを、ギガビット イーサネット インターフェイスへの入出力ポリサーとして適用します。
ge-1/0/0 { unit 1 layer2-policer { input-policer two-color-policer; # Apply a two-color policer. output-three-color srTCM2-cb; # Apply the srTCM1-color-blind policer. } }
ギガビット イーサネット インターフェイスで、カラー認識型の単一レート TCM ポリサーを出力ポリサーとして適用します。
ge-1/0/0 { unit 2 layer2-policer { output-three-color srTCM3-ca { # Apply the srTCM3-color-aware policer. } }