Rate-Limiting Hierarchical Policy Examples; Multiple Flows Sharing Preferred Bandwidth - Juniper E320 Configuration Manual

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

Advertisement

Chapter 3: Creating Rate-Limit Profiles
3. traffic class
4. user packet class
5. next hop
6. rate limit
7. color status
8. color action
9. parent group
10. mark
The mark action is the last action that occurs, after parent-group, so that the
color-mark profile can mark the packet with the final color from the hierarchy.

Rate-limiting Hierarchical Policy Examples

This section provides examples of how to use hierarchical policies.

Multiple Flows Sharing Preferred Bandwidth

Figure 3
shows an interface with an attached policy that has a Video classifier that
singles out a substream of the packets flowing on that interface. The Video classifier
can be allocated 6 Mbps out of the 10 Mbps interface rate. All other packets on the
interface are Internet. The common rate limit cannot drop Video packets, but must
limit the total flow (Video and Internet) to under 10 Mbps. Internet traffic can use
the Video bandwidth when there are no active Video calls, while avoiding hard
partitioning of interface bandwidth.
Figure 3: Multiple Flows Sharing Preferred Bandwidth
6 Mbps
Video
10 Mbps common rate limit
Internet
host1(config)#rate-limit-profile video two-rate hierarchical
Example 1: Multiple
host1(config-rate-limit-profile)#committed-action transmit unconditional
Packet Flows on One
host1(config-rate-limit-profile)#conformed-action transmit unconditional
Interface Sharing
Preferred Bandwidth
host1(config-rate-limit-profile)#exceeded-action drop
host1(config-rate-limit-profile)#peak-rate 60000000
host1(config-rate-limit-profile)#exit
host1(config)#rate-limit-profile common 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 100000000
host1(config-rate-limit-profile)#exit
!
81
Hierarchical Rate Limits

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

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

Table of Contents