Example: Multiple Flows Sharing A Rate Limit Hierarchical Policy; Figure 3: Multiple Packet Flows Sharing A Rate Limit - Juniper POLICY MANAGEMENT - CONFIGURATION GUIDE V11.1.X Configuration Manual

Junose software for broadband services routers policy management configuration guide
Table of Contents

Advertisement

JUNOSe 11.1.x Policy Management Configuration Guide
In this example, the rate limit Common is color-aware, using the color of the incoming
packets instead of setting them to Green. This causes the rate limit Preferred to send
6 Mbps of yellow, transmit unconditional packets. The rate limit Common counts
the packets against the yellow token bucket, which has a rate of 10 Mbps. However,
if the rate limit Common is color-blind, it treats all packets as Green so the green
token bucket gets 6 Mbps of transmit unconditional traffic, which eventually causes
all packets to be saturated and dropped.

Example: Multiple Flows Sharing a Rate Limit Hierarchical Policy

Figure 3 on page 68 shows an interface that has one rate limit and three classified
flows, A, B, and C. The combined traffic for A, B, and C must be below a peak rate
of 4 Mbps, but each individual flow can burst up to that amount. Statistics can be
collected separately on A, B, and C, while limiting only the aggregate of all three.
None of the flows has any preference in accessing the rate limit, and the rate limit
is shared on a first-come first-serve basis.

Figure 3: Multiple Packet Flows Sharing a Rate Limit

This example uses committed and conformed actions for a preferred rate limit profile
so that the common rate limit drops only exceeded packets (those packets that raise
the traffic load above 4 Mbps); packets below 4 Mbps are transmitted. By specifying
classifier-group * parent-group all, all packets are sent to the parent group. There
is no individual rate limit so that those packet use any available, unused bandwidth
in the parent group rate limit.
68
Hierarchical Rate Limits Overview
host1(config)# rate-limit-profile All two-rate hierarchical
host1(config-rate-limit-profile)# committed-action transmit conditional
host1(config-rate-limit-profile)# conformed-action transmit conditional
host1(config-rate-limit-profile)# exceeded-action drop
host1(config-rate-limit-profile)# peak-rate 40000000
host1(config-rate-limit-profile)# exit
host1(config)# policy-list rlpshare
host1(config-policy-list)# classifier-group A parent-group All
host1(config-policy-list-classifier-group)# forward
host1(config-policy-list-classifier-group)# exit
host1(config-policy-list)# classifier-group B parent-group All

Advertisement

Table of Contents
loading

This manual is also suitable for:

E series

Table of Contents