ポリサーを動的プロファイルインターフェイスに適用する
この構成では、ポリサーを動的プロファイルに適用する方法について説明します。
ポリサーを適用する前に、以下の説明に従って、ポリサーを設定する必要があります。
動的プロファイルを設定するには、次のようにします。
- 3色のポリサーの動的プロファイルを作成します。
[edit dynamic-profiles] user@host# edit pw-trTCM-policer
- 動的な基本インターフェイスユニットを持つ動的プロファイルインターフェイスを作成します。
[edit dynamic-profiles pw-trTCM-policer] user@host# edit interfaces $junos-interface-ifd-name unit $junos-underlying-interface-unit
- VPLS がプロトコルファミリーであることを指定します。
[edit dynamic-profiles pw-trTCM-policer interfaces "$junos-interface-ifd-name" unit "$junos-underlying-interface-unit"] user@host# set family vpls
- 3色のポリサーを動的プロファイルに割り当てます。
[edit dynamic-profiles pw-trTCM-policer interfaces "$junos-interface-ifd-name" unit "$junos-underlying-interface-unit"] user@host# set layer2-policer output-three-color trTCM-policer
- 2色のポリサーの動的プロファイルを作成します。
[edit dynamic-profiles] user@host# edit pw-2color-l2-policer
- 動的な基本インターフェイスユニットを持つ動的プロファイルインターフェイスを作成します。
[edit dynamic-profiles pw-2color-l2-policer] user@host# edit interfaces $junos-interface-ifd-name unit $junos-underlying-interface-unit
- VPLS がプロトコルファミリーであることを指定します。
[edit dynamic-profiles pw-2color-l2-policer interfaces "$junos-interface-ifd-name" unit "$junos-underlying-interface-unit"] user@host# set family vpls
- 2色のポリサーを動的プロファイルに割り当てます。
[edit dynamic-profiles pw-2color-l2-policer interfaces "$junos-interface-ifd-name" unit "$junos-underlying-interface-unit"] user@host# set layer2-policer output-policer 2color-l2-policer