In this example, the CLI commands and output are based on a bandwidth limit
specified as a percentage rather than as an absolute rate.
[edit firewall policer policer_IFL]
user@host#
set
bandwidth-percent 90
b. Specify the burst-size limit, from 1,500 bytes through 100,000,000,000 bytes,
which is the maximum packet size to be permitted for bursts of data that exceed
the specified bandwidth limit.
[edit firewall policer policer_IFL]
user@host#
set if-exceeding burst-size-limit 300k
4.
Specify the policer actions to be taken on traffic that exceeds the configured rate
limits.
•
To discard the packet, include the
discard
statement.
•
To set the loss-priority value of the packet, include the
loss-priority (low | medium-low | medium-high | high)
statement.
•
To classify the packet to a forwarding class, include the
forwarding-class (
forwarding-class
| assured-forwarding | best-effort |
expedited-forwarding | network-control)
statement.
In this example, the CLI commands and output are based on both setting the packet
loss priority level and classifying the packet.
[edit firewall policer policer_IFL]
user@host#
set then loss-priority high
user@host#
set then forwarding-class best-effort
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
policer policer_IFL {
logical-interface-policer;
if-exceeding {
bandwidth-percent 90;
burst-size-limit 300k;
}
then {
loss-priority high;
forwarding-class best-effort;
}
}
Applying the Logical Interface Policer to Input IPv4 Traffic at a Logical Interface
Step-by-Step
Procedure
To apply the two-color logical interface policer to input IPv4 traffic a logical interface:
Enable configuration of the logical interface.
[edit]
1.
175
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 ...