3.
Configure the single-rate guaranteed traffic limits.
[edit firewall three-color-policer srTCM1-ca]
user@host#
set single-rate
40m
user@host#
set single-rate
100k
4.
Configure the single-rate burst-size limit that is used to classify nonconforming
traffic.
[edit firewall three-color-policer srTCM1-ca]
user@host#
set single-rate
200k
5.
(Optional) Configure the action for nonconforming traffic.
[edit firewall three-color-policer srTCM1-ca]
user@host#
set
action loss-priority high then discard
For three-color policers, the only configurable action is to discard packets in a red
traffic flow. In this example, packets in a red traffic flow have been implicitly marked
with a
high
packet loss priority (PLP) level because the traffic flow exceeded the
rate-limiting defined by the single rate-limit (specified by the
committed-information-rate 40m
statement) and the larger burst-size limit (specified
by the
excess-burst-size 200k
statement). Because the optional
action
statement
is included, this example takes the more severe action of discarding packets in a
red traffic flow.
Results
Confirm the configuration of the hierarchical policer by entering the
show firewall
configuration command. If the command output does not display the intended
configuration, repeat the instructions in this procedure to correct the configuration.
three-color-policer srTCM1-ca {
action {
loss-priority high then discard;
}
single-rate {
color-aware;
committed-information-rate 40m;
committed-burst-size 100k;
excess-burst-size 200k;
}
}
Configuring an IPv4 Stateless Firewall Filter That References the Policer
Step-by-Step
Procedure
To configure a standard stateless firewall filter that references the policer:
Enable configuration of an IPv4 standard stateless firewall filter.
[edit]
1.
user@host#
edit firewall family inet filter filter-srtcm1ca-all
2.
Specify the filter term that references the policer.
[edit firewall family inet filter filter-srtcm1ca-all]
user@host#
set term 1 then
single-rate srTCM1-ca
Copyright © 2016, Juniper Networks, Inc.
156
Traffic Policers Feature Guide for EX9200 Switches
Содержание 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 ...