Name
access-list rate-limit — global
Synopsis
access-list rate-limitaccess-list
{precedence
|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.
-
precedence
The IP precedence level to apply to the access list.
-
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
Get CISCO IOS in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.