network node, and any preexisting color markings are used in determining the
appropriate policing action for the packet.
Because you are applying this three-color policer applied to input at Layer 2, you
must configure the policer to be color-blind.
4.
Specify the policer traffic limits used to classify a green traffic flow.
[edit firewall three-color-policer trTCM2-cb]
user@host#
set two-rate
40m
user@host#
set two-rate
100k
5.
Specify the additional policer traffic limits used to classify a yellow or red traffic
flow.
[edit firewall three-color-policer trTCM2-cb]
user@host#
set two-rate
60m
user@host#
set two-rate
200k
6.
(Optional) Specify the configured policer action for packets in a red traffic flow.
[edit firewall three-color-policer trTCM2-cb]
user@host#
set
action loss-priority high then discard
In color-aware mode, the three-color policer configured action can increase the
packet loss priority (PLP) level of a packet, but never decrease it. For example, if a
color-aware three-color policer meters a packet with a medium PLP marking, it can
raise the PLP level to high, but cannot reduce the PLP level to low.
Results
Confirm the configuration of the three-color 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 trTCM2-cb {
logical-interface-policer;
action {
loss-priority high then discard;
}
two-rate {
color-blind;
committed-information-rate 40m;
committed-burst-size 100k;
peak-information-rate 60m;
peak-burst-size 200k;
}
}
Applying the Three-Color Policer to the Layer 2 Input at the Logical Interface
Step-by-Step
Procedure
To apply the three-color policer to the Layer 2 input at the logical interface:
Enable application of Layer 2 logical interface policers.
[edit]
1.
user@host#
edit interfaces ge-1/3/1 unit 0
181
Copyright © 2016, Juniper Networks, Inc.
Chapter 16: Two-Color and Three-Color Logical Interface Policers
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 ...