at line rate until all the accumulated tokens in the token bucket are used up. This means
that configuring a large burst size can allow too many packets to avoid rate limiting,
which can lead to a traffic rate that exceeds the bandwidth limit for an extended period
of time.
If the average rate is considered within 1 second, the rate is still below the configured
bandwidth limit. However, the downstream device might not be able to handle bursty
traffic, so some packets might be dropped.
Two Methods for Calculating Burst-Size Limit
For policers configured on MX Series, M120, and M320 routers, and EX Series switches,
configurable burst-size limit values range from 1 ms through 600 ms of traffic at the
policer rate (the configured bandwidth limit).
Because one burst size is not suitable for every traffic pattern, select the best burst size
for an interface by performing experimental configurations. For your first test configuration,
select the burst-size limit by using one of the calculation methods described in the next
two sections.
Calculation Based on Interface Bandwidth and Allowable Burst Time
If the bandwidth of the policed interface is known, the preferred method for calculating
the policer burst-size limit is based on the following values:
•
bandwidth
—Line rate of the policed interface (in bps units)
•
burst-period
—Allowable traffic-burst time (5 ms or longer)
To calculate policer bandwidth in bytes:
bandwidth X burst-period / 8
Calculation Based on Interface Traffic MTU
If the bandwidth of the policed interface is unknown, calculate the policer burst-size limit
based on the following value:
•
interface MTU
—Maximum transmission unit (in bytes) for the policed interface.
To calculate policer bandwidth in bytes:
interface MTU
Χ
10
Comparison of the Two Methods
illustrates the relationship between the policer rate (the configured
bandwidth limit) and the effective burst-size limit for the two methods of calculating
the best policer burst-size limit. For the method based on interface bandwidth and
allowable burst time, the correlation is labeled
5 ms
. For the method based on MTU size,
the correlation is labeled
10 MTU
.
Copyright © 2016, Juniper Networks, Inc.
32
Traffic Policers Feature Guide for EX9200 Switches
Summary of Contents for EX9200 Series
Page 8: ...Copyright 2016 Juniper Networks Inc viii Traffic Policers Feature Guide for EX9200 Switches ...
Page 10: ...Copyright 2016 Juniper Networks Inc x Traffic Policers Feature Guide for EX9200 Switches ...
Page 12: ...Copyright 2016 Juniper Networks Inc xii Traffic Policers Feature Guide for EX9200 Switches ...
Page 20: ...Copyright 2016 Juniper Networks Inc 2 Traffic Policers Feature Guide for EX9200 Switches ...
Page 32: ...Copyright 2016 Juniper Networks Inc 14 Traffic Policers Feature Guide for EX9200 Switches ...
Page 34: ...Copyright 2016 Juniper Networks Inc 16 Traffic Policers Feature Guide for EX9200 Switches ...
Page 42: ...Copyright 2016 Juniper Networks Inc 24 Traffic Policers Feature Guide for EX9200 Switches ...
Page 54: ...Copyright 2016 Juniper Networks Inc 36 Traffic Policers Feature Guide for EX9200 Switches ...
Page 56: ...Copyright 2016 Juniper Networks Inc 38 Traffic Policers Feature Guide for EX9200 Switches ...
Page 72: ...Copyright 2016 Juniper Networks Inc 54 Traffic Policers Feature Guide for EX9200 Switches ...
Page 132: ...Copyright 2016 Juniper Networks Inc 114 Traffic Policers Feature Guide for EX9200 Switches ...
Page 152: ...Copyright 2016 Juniper Networks Inc 134 Traffic Policers Feature Guide for EX9200 Switches ...
Page 162: ...Copyright 2016 Juniper Networks Inc 144 Traffic Policers Feature Guide for EX9200 Switches ...
Page 178: ...Copyright 2016 Juniper Networks Inc 160 Traffic Policers Feature Guide for EX9200 Switches ...
Page 186: ...Copyright 2016 Juniper Networks Inc 168 Traffic Policers Feature Guide for EX9200 Switches ...
Page 188: ...Copyright 2016 Juniper Networks Inc 170 Traffic Policers Feature Guide for EX9200 Switches ...
Page 202: ...Copyright 2016 Juniper Networks Inc 184 Traffic Policers Feature Guide for EX9200 Switches ...
Page 212: ...Copyright 2016 Juniper Networks Inc 194 Traffic Policers Feature Guide for EX9200 Switches ...
Page 214: ...Copyright 2016 Juniper Networks Inc 196 Traffic Policers Feature Guide for EX9200 Switches ...
Page 278: ...Copyright 2016 Juniper Networks Inc 260 Traffic Policers Feature Guide for EX9200 Switches ...