Configuring A Policer; Applying A Policer; Example: Configuring And Applying A Policer - Juniper JUNOS 10.1 - CONFIGURATION GUIDE 1-2010 Configuration Manual

Network interfaces configuration
Table of Contents

Advertisement

JUNOS 10.1 Network Interfaces Configuration Guide
Unlike policing (described in "Configuring Gigabit Ethernet Policers" on page 787),
configuring two-color policers and tricolor marking policers requires that you configure
a firewall filter.
This section contains the following topics:

Configuring a Policer

Two-color and tricolor marking policers are configured at the
level.
A tricolor marking policer polices traffic on the basis of metering rates, including the
CIR, the PIR, their associated burst sizes, and any policing actions configured for the
traffic.
To configure tricolor policer marking, include the
options at the
794
Configuring Gigabit Ethernet Two-Color and Tricolor Policers
(DiffServ) environment. This type of policer meters traffic based on the configured
CIR and peak information rate (PIR), along with their associated burst sizes, the
CBS and EBS. Traffic is marked as belonging to one of three categories (green,
yellow, or red) based on whether the packets arriving are below the CIR (green),
exceed the CIR (yellow) but not the PIR, or exceed the PIR (red). Two-rate TCM
is most useful when a service is structured according to arrival rates and not
necessarily packet length.
Configuring a Policer on page 794
Applying a Policer on page 795
Example: Configuring and Applying a Policer on page 795
[edit firewall]
[edit firewall]
three-color-policer name {
action {
loss-priority high {
then discard;
}
}
single-rate {
(color-aware | color-blind);
committed-information-rate bps;
committed-burst-size bytes;
excess-burst-size bytes;
}
two-rate {
(color-aware | color-blind);
committed-information-rate bps;
committed-burst-size bytes;
peak-information-rate bps;
peak-burst-size bytes;
}
}
three-color-policer
hierarchy level:
hierarchy
[edit firewall]
statement with

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junos 10.1

Table of Contents