Example: Configuring a Physical Interface Policer for Aggregate Traffic at a Physical
Interface
This example shows how to configure a single-rate two-color policer as a physical
interface policer.
•
•
•
•
Requirements
No special configuration beyond device initialization is required before configuring this
example.
Overview
A
physical interface policer
specifies rate-limiting for aggregate traffic, which encompasses
all protocol families and logical interfaces configured on a physical interface, even if the
interfaces belong to different routing instances.
You can apply a physical interface policer to Layer 3 input or output traffic only by
referencing the policer from a stateless firewall filter that is configured for specific a
specific protocol family (not for
family any
) and configured as a physical interface filter.
You configure the filter terms with match conditions that select the types of packets you
want to rate-limit, and you specify the physical interface policer as the action to apply
to matched packets.
Topology
The physical interface policer in this example,
shared-policer-A
, rate-limits to
10,000,000 bps and permits a maximum burst of traffic of 500,000 bytes. You configure
the policer to discard packets in nonconforming flows, but you could instead configure
the policer to re-mark nonconforming traffic with a forwarding class, a packet loss priority
(PLP) level, or both.
To be able to use the policer to rate-limit IPv4 traffic, you reference the policer from an
IPv4 physical interface filter. For this example, you configure the filter to pass the policer
IPv4 packets that meet either of the following match terms:
•
Packets received through TCP and with the IP precedence fields
critical-ecp
(0xa0),
immediate
(0x40), or
priority
(0x20)
•
Packets received through TCP and with the IP precedence fields
internet-control
(0xc0)
or
routine
(0x00)
You could also reference the policer from physical interface filters for other protocol
families.
187
Copyright © 2016, Juniper Networks, Inc.
Chapter 17: Two-Color and Three-Color Physical Interface Policers
Содержание EX9200 Series
Страница 8: ...Copyright 2016 Juniper Networks Inc viii Traffic Policers Feature Guide for EX9200 Switches ...
Страница 10: ...Copyright 2016 Juniper Networks Inc x Traffic Policers Feature Guide for EX9200 Switches ...
Страница 12: ...Copyright 2016 Juniper Networks Inc xii Traffic Policers Feature Guide for EX9200 Switches ...
Страница 20: ...Copyright 2016 Juniper Networks Inc 2 Traffic Policers Feature Guide for EX9200 Switches ...
Страница 32: ...Copyright 2016 Juniper Networks Inc 14 Traffic Policers Feature Guide for EX9200 Switches ...
Страница 34: ...Copyright 2016 Juniper Networks Inc 16 Traffic Policers Feature Guide for EX9200 Switches ...
Страница 42: ...Copyright 2016 Juniper Networks Inc 24 Traffic Policers Feature Guide for EX9200 Switches ...
Страница 54: ...Copyright 2016 Juniper Networks Inc 36 Traffic Policers Feature Guide for EX9200 Switches ...
Страница 56: ...Copyright 2016 Juniper Networks Inc 38 Traffic Policers Feature Guide for EX9200 Switches ...
Страница 72: ...Copyright 2016 Juniper Networks Inc 54 Traffic Policers Feature Guide for EX9200 Switches ...
Страница 132: ...Copyright 2016 Juniper Networks Inc 114 Traffic Policers Feature Guide for EX9200 Switches ...
Страница 152: ...Copyright 2016 Juniper Networks Inc 134 Traffic Policers Feature Guide for EX9200 Switches ...
Страница 162: ...Copyright 2016 Juniper Networks Inc 144 Traffic Policers Feature Guide for EX9200 Switches ...
Страница 178: ...Copyright 2016 Juniper Networks Inc 160 Traffic Policers Feature Guide for EX9200 Switches ...
Страница 186: ...Copyright 2016 Juniper Networks Inc 168 Traffic Policers Feature Guide for EX9200 Switches ...
Страница 188: ...Copyright 2016 Juniper Networks Inc 170 Traffic Policers Feature Guide for EX9200 Switches ...
Страница 202: ...Copyright 2016 Juniper Networks Inc 184 Traffic Policers Feature Guide for EX9200 Switches ...
Страница 212: ...Copyright 2016 Juniper Networks Inc 194 Traffic Policers Feature Guide for EX9200 Switches ...
Страница 214: ...Copyright 2016 Juniper Networks Inc 196 Traffic Policers Feature Guide for EX9200 Switches ...
Страница 278: ...Copyright 2016 Juniper Networks Inc 260 Traffic Policers Feature Guide for EX9200 Switches ...