JunosE 11.1.1 Release Notes
106
Example: Aggregate Marking with Oversubscription Rate-Limiting Hierarchical Policy
Copyright © 2010, Juniper Networks, Inc.
Figure 1: Aggregate Marking with Oversubscription
host1(config)
#
rate-limit-profile indiv 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)
#
committed-rate 10000000
host1(config-rate-limit-profile)
#
peak-rate 20000000
host1(config-rate-limit-profile)
#
exit
host1(config)
#
rate-limit-profile S 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)
#
committed-rate 20000000
host1(config-rate-limit-profile)
#
peak-rate 60000000
host1(config-rate-limit-profile)
#
color-aware
host1(config-rate-limit-profile)
#
exit
host1(config)
#
ip color-mark-profile A
host1(config-color-mark-profile)
#
green-mark 10
host1(config-color-mark-profile)
#
yellow-mark 20
host1(config-color-mark-profile)
#
red-mark 20
host1(config-color-mark-profile)
#
exit
host1(config)
#
ip color-mark-profile BC
host1(config-color-mark-profile)
#
green-mark 10
host1(config-color-mark-profile)
#
yellow-mark 30
host1(config-color-mark-profile)
#
red-mark 30
host1(config-color-mark-profile)
#
exit
host1(config)
#
policy-list TOS10_oversubscribed
A
B
C
Rate-limits for A, B, C:
Packets under 1 Mbps marked TOS1
Packets between 1-2 Mbps marked with ToS value 20 (A only) or ToS value 30 (B, C)
All packets sent to rate limit S for check for ToS value 10
Rate-limit S:
Receives packets from A, B, C
Packets under 2 Mbps are not affected
Drops packets that exceed 6 Mbps rate
Demotes packets over 2 Mbps
Configuration:
Peak Rate: 6 Mbps
Committed rate: 2 Mbps
Committed action: transmit
Conformed action: transmit
Exceeded action: drop
Color-aware
Configuration A
Peak Rate: 2 Mbps
Committed rate: 1 Mbps
Committed action: transmit conditional
Conformed action: transmit conditional
Exceeded action: drop
G mark: TOS value 10
Y mark:
TOS value 20
R mark:
TOS value 20
Configuration B, C
Peak Rate: 2 Mbps
Committed rate: 1 Mbps
Committed action: transmit conditional
Conformed action: transmit conditional
Exceeded action: drop
G mark: TOS value 10
Y mark:
TOS value 30
R mark:
TOS value 30
g016526