Navigation
Supported Platforms
Applying the Policers to Dynamic Profile Interfaces
This configuration shows how to apply policers to a dynamic profile.
Before you can apply policers, you need to have configured your policers as described in:
- Configuring a Three-Color Layer 2 Policer for the Pseudowire
- Configuring a Two-Color Layer 2 Policer for the Pseudowire
To configure the dynamic profiles:
- Create a dynamic profile for the three-color policer. [edit dynamic-profiles] user@host# edit pw-trTCM-policer
- Create a dynamic profile interface that has a dynamic
underlying interface unit. [edit dynamic-profiles pw-trTCM-policer]user@host# edit interfaces $junos-interface-ifd-name unit $junos-underlying-interface-unit
- Specify that VPLS is the protocol family. [edit dynamic-profiles pw-trTCM-policer interfaces "$junos-interface-ifd-name" unit "$junos-underlying-interface-unit"]user@host# set family vpls
- Assign the three-color policer to the dynamic profile. [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
- Create a dynamic profile for the two-color policer. [edit dynamic-profiles] user@host# edit pw-2color-l2-policer
- Create a dynamic profile interface that has a dynamic
underlying interface unit. [edit dynamic-profiles pw-2color-l2-policer]user@host# edit interfaces $junos-interface-ifd-name unit $junos-underlying-interface-unit
- Specify that VPLS is the protocol family. [edit dynamic-profiles pw-2color-l2-policer interfaces "$junos-interface-ifd-name" unit "$junos-underlying-interface-unit"]user@host# set family vpls
- Assign the two-color policer to the dynamic profile. [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