bandwidth limit as a percentage of either the physical interface port speed or the
configured logical interface shaping rate.
•
The token bucket depth represents the single
burst size
configured for the policer. You
specify the burst size by including the
burst-size-limit
bytes
statement.
•
If the bucket is filled to capacity, arriving tokens “overflow” the bucket and are lost.
When the bucket contains insufficient tokens for receiving or transmitting the traffic at
the interface, packets might be dropped or else re-marked with a lower forwarding class,
a higher packet loss priority (PLP) level, or both.
Conformance Measurement for Two-Color Marking
In two-color-marking policing, a traffic flow whose average arrival or departure rate
does not exceed the token arrival rate (bandwidth limit) is considered
conforming traffic
.
Packets in a conforming traffic flow (categorized as green traffic) are implicitly marked
with a packet loss priority (PLP) level of
low
and then passed through the interface.
For a traffic flow whose average arrival or departure rate exceeds the token arrival rate,
conformance to a two-color policer rate limit depends on the tokens in the bucket. If
sufficient tokens remain in the bucket, the flow is considered conforming traffic. If the
bucket does not contain sufficient tokens, the flow is considered
non-conforming traffic
.
Packets in a non-conforming traffic flow (categorized as red traffic) are handled according
to policing actions. Depending on the configuration of the two-color policer, packets
might be implicitly discarded; or the packets might be re-marked with a specified
forwarding class, a specified PLP, or both, and then passed through the interface.
NOTE:
The number of tokens remaining in the bucket at any given time is a
function of the token bucket depth and the overall traffic load.
The token bucket is initially filled to capacity, and so the policer allows an initial traffic
burst (back-to-back traffic at average rates that exceed the token arrival rate) up to the
size of the token bucket depth.
During periods of relatively low traffic (traffic that arrives at or departs from the interface
at average rates below the token arrival rate), unused tokens accumulate in the bucket,
but only up to the configured token bucket depth.
Related
Documentation
Two-Color Policer Configuration Overview on page 49
•
•
Hierarchical Policer Configuration Overview
•
Policer Color-Marking and Actions on page 18
•
bandwidth-limit (Hierarchical Policer)
•
bandwidth-limit (Policer) on page 199
•
•
burst-size-limit (Hierarchical Policer)
•
burst-size-limit (Policer) on page 203
21
Copyright © 2016, Juniper Networks, Inc.
Chapter 4: Configuring Policer Rate Limits and Actions
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 ...