Creating a One-Rate Rate-Limit Profile
To create or modify a one-rate rate-limit profile, use the following commands with the one-rate keyword:
- ip rate-limit-profile command
- ipv6 rate-limit-profile command
- l2tp rate-limit-profile command
- mpls rate-limit-profile command
The following example creates a rate-limit profile named tcpFriendly8Mb. This rate-limit profile, when included as part of a rule in a policy list, sets a TCP-friendly rate for a specified flow:
host1(config)#ip rate-limit-profile tcpFriendly8Mb one-ratehost1(config-rate-limit-profile)#committed-rate 8000000host1(config-rate-limit-profile)#committed-burst 1500000host1(config-rate-limit-profile)#excess-burst 3000000host1(config-rate-limit-profile)#committed-action transmithost1(config-rate-limit-profile)#conformed-action transmithost1(config-rate-limit-profile)#exceeded-action drophost1(config-rate-limit-profile)#mask-val 255To configure a single-rate hard limit, set the committed rate and burst rate to the desired values, the committed action to transmit, the conformed action to drop, and the exceeded action to drop. The peak rate must be set to zero.
NOTE: You can also achieve the characteristics of the single-rate hard limit by configuring a one-rate rate-limit profile with the extended burst rate set to zero.