Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

Applying the Policers to Dynamic Profile Interfaces

date_range 24-Nov-23

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.
    content_copy zoom_out_map
    [edit dynamic-profiles] 
    user@host#  edit pw-trTCM-policer  
    
  2. Create a dynamic profile interface that has a dynamic underlying interface unit.
    content_copy zoom_out_map
    [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.
    content_copy zoom_out_map
    [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.
    content_copy zoom_out_map
    [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.
    content_copy zoom_out_map
    [edit dynamic-profiles] 
    user@host#  edit pw-2color-l2-policer 
    
  6. Create a dynamic profile interface that has a dynamic underlying interface unit.
    content_copy zoom_out_map
    [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.
    content_copy zoom_out_map
    [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.
    content_copy zoom_out_map
    [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 
    
footer-navigation