Multiple Flows Sharing A Rate Limit - Juniper E320 Configuration Manual

Junose internet software for e-series routing platforms
Hide thumbs Also See for E320:
Table of Contents

Advertisement

JUNOSe 7.2.x Policy Management Configuration Guide
Example 2: Multiple
Packet Flows Sharing a
Rate Limit
82
!
Hierarchical Rate Limits
host1(config)#policy-list mycompany
host1(config-policy-list)#classifier-group video parent-group all
host1(config-policy-list-classifier-group)#rate-limit-profile preferred
host1(config-policy-list-classifier-group)#exit
host1(config-policy-list)#classifier-group * parent-group all
host1(config-policy-list-classifier-group)#forward
host1(config-policy-list-classifier-group)#exit
host1(config-policy-list)#parent-group all
host1(config-policy-list-parent-group)#rate-limit-profile common
host1(config-policy-list-parent-group)#exit

Multiple Flows Sharing a Rate Limit

Figure 4
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 4: Multiple Packet Flows Sharing a Rate Limit
A
B
C
A, B, C traffic
No individual rate limits
Feed to aggregate rate limits
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.
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
Rate-limit All:
Peak rate: 4 Mbps
Can drop any exceed packets A, B, C
Configuration:
Peak rate: 4 Mbps
Committed action: transmit
Conformed action: transmit
Exceeded action: drop

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Erx-710Erx-310Erx-1440Erx-1410Erx-705

Table of Contents