Name
access-list rate-limit — global
Synopsis
access-list rate-limitaccess-list{precedence|exp|mac-address| maskprecedence-mask} no access-list rate-limitaccess-list
Configures
An access list for Committed Access Rate (CAR)
Default
None
Description
This command selects packets for CAR policies based on IP precedence or MAC addresses. There can only be one command per access list. If you need to assign more than one precedence level to a single access list, use the mask keyword. The access list is used to classify packets. For IP, use any number from 1 to 99; for MAC, use any number from 100 to 199; and for the MPLS experimental field, use any number from 200 to 299.
-
precedence The IP precedence level to apply to the access list.
-
exp MPLS experimental field. Valid values are number from 0 to 7.
-
mac-address The MAC address to apply to the access list.
-
mask precedence-mask The precedence mask to apply to the access list. To calculate the mask, convert the precedence value to an eight-bit mask. A precedence of 0 is encoded as 000000001; a precedence of 1 is 00000010. Then AND all the bit values together to get a single mask. For example, the mask that covers a precedence of 1 through 3 would be 00001110. When you have the binary mask, convert it to a two-digit hexadecimal number; for this example, the mask would be 0E.
Example
! This command assigns a CAR access-list of 10 to packets with an IP ! precedence of 1 through 3. access-list rate-limit 10 mask 0E