Advanced Configuration and Management Guide
NOTE: The bits appear in this order in the IP precedence field and the software reads them from right to left. The least significant digit is the rightmost digit (bit position 1) and the most significant digit is the leftmost digit (bit position 8).
You also can use the mask
NOTE: Rate limiting for Diffserv is not supported in the current release.
Specifying the Bandwidth Allowances and Applying Rate Policy Rules to an Interface
When you apply a rate policy rule to an interface, you specify the following:
•The amount of the interface’s bandwidth you are allowing for traffic that matches the rule
•The actions you want the device to take for traffic that conforms to the rule (is within the Normal Burst Size) and for traffic that exceeds the rule (is within the Excess Burst Size).
You can apply up 20 rate policy rules to an interface for inbound traffic and up to 20 additional rules for outbound traffic. The maximum number of rules for either direction is 20. When you apply more than one rule to an interface, the software interprets the rules in order, beginning with the first rule you apply to the interface and ending with the last rule you apply. When the traffic matches a rule, the software performs the action associated with that rule.
You can apply rate policy rules to the following types of interfaces:
•Physical port
•Trunk group (apply the policy to the trunk group’s primary port)
•Virtual interface
•
CLI Examples
To specify the values for the rate policies in Figure 4.2 on page
HP9300(config)# interface ethernet 1/1 |
|
| |
input | |||
187500 | 5 | ||
input | |||
187500 | 5 | ||
input | |||
187500 | 5 | ||
output | |||
100000 | 5 | ||
input 4000000 80000 120000 | |||
|
|
To specify the values for the rate policies in Figure 4.3 on page
HP9300(config)# interface virtual ve2
To specify the values for the rate policies in Figure 4.4 on page
HP9300(config)# vlan 2
4 - 16