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

Configuring a Policer Overhead

date_range 24-Nov-23

Configuring a policer overhead allows you to control the rate of traffic sent or received on an interface. When you configure a policer overhead, the configured policer overhead value (bytes) is added to the length of the final Ethernet frame. This calculated length of frame is used to determine the policer or the rate limit action. Therefore, the policer overhead enables you to control the rate of traffic sent or received on an interface. You can configure the policer overhead to rate-limit queues and Layer 2 and MAC policers. The policer overhead and the shaping overhead can be configured simultaneously on an interface.

This feature is supported on M Series and T Series routers with IQ2 PICs or IQ2E PICs, and on MX Series DPCs.

To configure a policer overhead for controlling the rate of traffic sent or received on an interface:

  1. In the [edit chassis] hierarchy level in configuration mode, create the interface on which to add the policer overhead to input or output traffic.
    content_copy zoom_out_map
    [edit chassis]
    user@host# edit fpc fpc pic pic
    

    For example:

    content_copy zoom_out_map
    [edit chassis]
    user@host# edit fpc 0 pic 1
    
  2. Configure the policer overhead to control the input or output traffic on the interface. You could use either statement or both the statements for this configuration.
    content_copy zoom_out_map
    [edit chassis fpc fpc pic pic]
    user@host# set ingress-policer-overhead bytes;
    user@host# set egress-policer-overhead bytes;
    

    For example:

    content_copy zoom_out_map
    [edit chassis fpc 0 pic 1]
    user@host# set ingress-policer-overhead 10;
    user@host# set egress-policer-overhead 20;
    
  3. Verify the configuration:
    content_copy zoom_out_map
    [edit chassis]
    user@host# show
    fpc 0 {
        pic 1 {
            ingress-policer-overhead 10;
            egress-policer-overhead 20;
        }
    }
    
Note:

When the configuration for the policer overhead bytes on a PIC is changed, the PIC goes offline and then comes back online. In addition, the configuration in the CLI is on a per-PIC basis and, therefore, applies to all the ports on the PIC.

footer-navigation