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 the Accounting of Policer Overhead in Interface Statistics

date_range 24-Nov-23

The Metro Ethernet Forum (MEF) Carrier Ethernet (CE) 2.0 set of standards has stringent requirements to the bandwidth profile enforcement at the user-to-network interfaces (UNI). MEF CE 2.0 certification compliance allows only a 2 percent deviation from UNI committed or peak rate across all frame sizes. This means that the policers should take into account the frame size at the UNI interface, including frame checksum and excluding all additional overheads that might be added inside the service provider network (such as S-VLANs).

In order to address the MEF CE 2.0 stringent requirements to the bandwidth profile, policer-overhead adjustment is defined on a per IFL or direction granularity. The policer-overhead adjustment is in the range of -16 bytes to +16 bytes and is applied for all the policers that take into account Layer 1/ Layer 2 (L1/L2) packet length in the specified IFL or direction, including corresponding logical interface family (IFF) feature policers.

To configure the policer-overhead:

  1. At the [edit interfaces] 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 interfaces]
    user@host# edit interfaces interface name
    

    For example:

    content_copy zoom_out_map
    [edit interfaces interface name]
    user@host# edit xe-0/1/6
    
  2. Create the unit on which to add the policer overhead.
    content_copy zoom_out_map
    [edit interfaces unit]
    [edit interfaces interface name unit unit-number]
    

    For example:

    content_copy zoom_out_map
    [edit interfaces unit]
    user@host# edit xe-0/1/6 unit 0
    
  3. Configure the policer-overhead for the ingress policer.
    content_copy zoom_out_map
    [edit interfaces interface name unit unit-number ]
    user@host# set policer-overhead ingress value in bytes (-16..+16 bytes)
    

    For example:

    content_copy zoom_out_map
    [edit xe-0/1/6 unit 0]
    user@host# set policer-overhead ingress 10;
    
  4. Configure the policer-overhead for the egress policer.
    content_copy zoom_out_map
    user@host# set policer-overhead egress value in bytes (-16..+16 bytes)
    

    content_copy zoom_out_map
    [edit xe-0/1/6 unit 0]
    user@host# set policer-overhead egress 10;
    
  5. Verify the configuration.
    content_copy zoom_out_map
    [edit interfaces]
    user@host# show interfaces xe-0/1/6
    xe-0/1/6 {                          
            unit 0 {                        
                policer-overhead {          
                    ingress 10;             
                    egress 10;              
                }                           
            }                               
        }
    user@host>show interfaces xe-0/1/6    
    Physical interface: xe-0/1/6, Enabled, Physical link is Up
      Interface index: 161, SNMP ifIndex: 544
      Link-level type: Ethernet, MTU: 1514, MRU: 1522, LAN-PHY mode, Speed: 10Gbps, BPDU Error: None, MAC-REWRITE Error: None,
      Loopback: None, Source filtering: Disabled, Flow control: Enabled
      Pad to minimum frame size: Disabled
      Device flags   : Present Running
      Interface flags: SNMP-Traps Internal: 0x4000
      Link flags     : None
      CoS queues     : 8 supported, 8 maximum usable queues
      Schedulers     : 0
      Current address: 00:23:9c:fc:a8:58, Hardware address: 00:23:9c:fc:a8:58
      Last flapped   : 2015-09-13 20:12:36 PDT (14:21:57 ago)
      Input rate     : 0 bps (0 pps)
      Output rate    : 0 bps (0 pps)
      Active alarms  : None
      Active defects : None
      PCS statistics                      Seconds
        Bit errors                             0
        Errored blocks                         0
      Link Degrade :                      
        Link Monitoring                   :  Disable
      Interface transmit statistics: Disabled
    
      Logical interface xe-0/1/6.0 (Index 339) (SNMP ifIndex 571)
        Flags: Up SNMP-Traps 0x4004000 Encapsulation: ENET2
        Policer overhead :
         Ingress policer overhead  :                    10 bytes
         Egress policer overhead   :                    10 bytes
        Input packets : 0
        Output packets: 0
        Protocol multiservice, MTU: Unlimited
          Flags: Is-Primary                 
    
    
    
    user@host> show interfaces xe-0/1/6.0            
      Logical interface xe-0/1/6.0 (Index 339) (SNMP ifIndex 571)
        Flags: Up SNMP-Traps 0x4004000 Encapsulation: ENET2
        Policer overhead :
         Ingress policer overhead  :                    10 bytes
         Egress policer overhead   :                    10 bytes
        Input packets : 0
        Output packets: 0
        Protocol multiservice, MTU: Unlimited
          Flags: Is-Primary
    
    
footer-navigation