動的プロファイル インターフェイスへのポリサーの適用
この設定は、ポリサーを動的プロファイルに適用する方法を示しています。
ポリサーを適用する前に、以下に示すようにポリサーを構成しておく必要があります。
動的プロファイルを設定するには:
- 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