•
•
Requirements
Before you begin, make sure that the logical interface to which you apply the three-color
logical interface policer is hosted on a Gigabit Ethernet interface (
ge-
) or a 10-Gigabit
Ethernet interface (
xe-
) on an MX Series router.
Overview
A two-rate three-color policer meters a traffic flow against a bandwidth limit and
burst-size limit for guaranteed traffic, plus a second set of bandwidth and burst-size
limits for peak traffic. Traffic that conforms to the limits for guaranteed traffic is
categorized as green, and nonconforming traffic falls into one of two categories:
•
Nonconforming traffic that does not exceed the bandwidth and burst-size limits for
peak traffic is categorized as yellow.
•
Nonconforming traffic that exceeds the bandwidth and burst-size limits for peak traffic
is categorized as red.
A logical interface policer defines traffic rate-limiting rules that you can apply to multiple
protocol families on the same logical interface without creating multiple instances of
the policer.
NOTE:
You apply a logical interface policer directly to a logical interface at
the logical unit level, and not by referencing the policer in a stateless firewall
filter and then applying the filter to the logical interface at the protocol family
level.
Topology
In this example, you configure the two-rate three-color policer
trTCM2-cb
as a color-blind
logical interface policer and apply the policer to incoming Layer 2 traffic on logical interface
ge-1/3/1.0
.
NOTE:
When using a three-color policer to rate-limit Layer 2 traffic,
color-aware policing can be applied to egress traffic only.
The policer defines guaranteed traffic rate limits such that traffic that conforms to the
bandwidth limit of 40 Mbps with a 100 KB allowance for traffic bursting (based on the
token-bucket formula) is categorized as green. As with any policed traffic, the packets
in a green flow are implicitly set to a
low
loss priority and then transmitted.
Nonconforming traffic that falls within the peak traffic limits of a 60 Mbps bandwidth
limit and a 200 KB allowance for traffic bursting (based on the token-bucket formula)
is categorized as yellow. The packets in a yellow traffic flow are implicitly set to a
medium-high
loss priority and then transmitted.
Copyright © 2016, Juniper Networks, Inc.
178
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 ...