Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

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:

To configure the dynamic profiles:

  1. Create a dynamic profile for the three-color policer.
    [edit dynamic-profiles] user@host# edit pw-trTCM-policer
  2. 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
  3. 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
  4. 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
  5. Create a dynamic profile for the two-color policer.
    [edit dynamic-profiles] user@host# edit pw-2color-l2-policer
  6. 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
  7. 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
  8. 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

Published: 2012-11-26