b. Make sure that the output queues to which the forwarding classes are assigned
are associated with schedulers. A scheduler defines the amount of interface
bandwidth assigned to the queue, the size of the memory buffer allocated for
storing packets, the priority of the queue, and the random early detection (RED)
drop profiles associated with the queue.
•
You configure output queue schedulers at the
[edit class-of-service schedulers]
hierarchy level.
•
You associate output queue schedulers with forwarding classes by means of a
scheduler map that you configure at the
[edit class-of-service scheduler-maps
map-name
]
hierarchy level.
c. Make sure that output-queue scheduling is applied to the physical interface
ge-1/2/0
.
You apply a scheduler map to a physical interface at the
[edit class-of-service
interfaces ge-1/2/0 scheduler-map
map-name
]
hierarchy level.
Overview
In this example, you apply multifield classification to the input IPv4 traffic at a logical
interface by using stateless firewall filter actions and two firewall filter policers that are
referenced from the firewall filter. Based on the source address field, packets are either
set to the
low
loss priority or else policed. Neither of the policers discards nonconforming
traffic. Packets in nonconforming flows are marked for a specific forwarding class
(
expedited-forwarding
or
assured-forwarding
), set to a specific loss priority, and then
transmitted.
NOTE:
Single-rate two-color policers always transmit packets in a conforming
traffic flow after implicitly setting a
low
loss priority.
Topology
In this example, you apply multifield classification to the IPv4 traffic on logical interface
ge-1/2/0.0
. The classification rules are specified in the IPv4 stateless firewall filter
mfc-filter
and two single-rate two-color policers,
ef-policer
and
af-policer
.
The IPv4 standard stateless firewall filter
mfc-filter
defines three filter terms:
•
isp1-customers
—The first filter term matches packets with the source address 10.1.1.0/24
or 10.1.2.0/24. Matched packets are assigned to the
expedited-forwarding
forwarding
class and set to the
low
loss priority.
•
isp2-customers
—The second filter term matches packets with the source address
10.1.3.0/24 or 10.1.4.0/24. Matched packets are passed to
ef-policer
, a policer that
rate-limits traffic to a bandwidth limit of 300 Kbps with a burst-size limit of 50 KB.
This policer specifies that packets in a nonconforming flow are marked for the
expedited-forwarding
forwarding class and set to the
high
loss priority.
Copyright © 2016, Juniper Networks, Inc.
122
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 ...