Configuring a Two-Rate Three-Color Policer
Step-by-Step
Procedure
To configure a two-rate three-color policer:
Enable configuration of a three-color policer.
[edit]
1.
user@host#
set firewall
trTCM1-ca
2.
Configure the color mode of the two-rate three-color policer.
[edit firewall three-color-policer trTCM1-ca]
user@host#
set
3.
Configure the two-rate guaranteed traffic limits.
[edit firewall three-color-policer trTCM1-ca]
user@host#
set two-rate
40m
user@host#
set two-rate
100k
Traffic that does not exceed both of these limits is categorized as green. Packets
in a green flow are implicitly set to
low
loss priority and then transmitted.
4.
Configure the two-rate peak traffic limits.
[edit firewall three-color-policer trTCM1-ca]
user@host#
set two-rate
60m
user@host#
set two-rate
200k
Nonconforming traffic that does not exceed both of these limits is categorized as
yellow. Packets in a yellow flow are implicitly set to
medium-high
loss priority and
then transmitted. Nonconforming traffic that exceeds both of these limits is
categorized as red. Packets in a red flow are implicitly set to
high
loss priority.
5.
(Optional) Configure the policer action for red traffic.
[edit firewall three-color-policer trTCM1-ca]
user@host#
set
action loss-priority high then discard
For three-color policers, the only configurable action is to discard red packets. Red
packets are packets that have been assigned high loss priority because they
exceeded the peak information rate (PIR) and the peak burst size (PBS).
Results
Confirm the configuration of the policer by entering the
show firewall
configuration mode
command. If the command output does not display the intended configuration, repeat
the instructions in this procedure to correct the configuration.
[edit]
user@host#
show firewall
three-color-policer trTCM1-ca {
action {
loss-priority high then discard;
}
two-rate {
color-aware;
committed-information-rate 40m;
committed-burst-size 100k;
Copyright © 2016, Juniper Networks, Inc.
164
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 ...