
BigIron RX Series Configuration Guide
497
53-1001810-01
Configuration considerations
19
The credit size is calculated using the following algorithm.
Credit = (Average rate in bits per second)/(8*64453)
One second is divided into 64,453 intervals. In each interval, the number of bytes equal to the
credit size is added to the running total of the class. The running total of a class represents the
number of bytes that can be allowed to pass through without being subject to rate limiting.
The second parameter is the maximum
credit total
, which is also measured in bytes. The maximum
credit total is calculated using the following algorithm.
Maximum credit total = (Maximum burst in bits)/8
The running total can never exceed the maximum credit total. When packets arrive at the port, a
class is assigned to the packet, based on the rate limiting policies. If the running total of the class is
less than the size of the packet, then the packet is dropped. Otherwise, the size of the packet is
subtracted from the running total and the packet is forwarded. If there is no traffic that matches
rate limiting criteria, then the running total can increase until it reaches the maximum credit total.
Configuration considerations
•
Except for port-based rate limiting policies, all rate limiting policy types can be applied only to
inbound ports on the device.
•
Only one type of inbound rate limiting can be applied on a physical port. For example, you
cannot apply inbound port-and-ACL-based and inbound port-based rate limiting policies on the
same port.
•
Outbound port-based rate limiting policy can be combined with any type of inbound rate
limiting policy.
•
Any VLAN-based rate limiting can limit only tagged packets that match the VLAN ID specified in
the policy. Untagged packets are not subject to rate limiting.
•
The minimum configurable rate limiting rate in the device is 20,345 bps. The maximum
configurable rate limiting rate is near line-rate.
•
Control packets are not subject to rate limiting.
•
Trunks with rate-limiting on their physical members is configurable where all the ports inherit
the rate-limiting policy.
•
The device currently only support "strict" and "destination-weighted" scheduling schemes. (qos
scheduler ..) on the 16x10G card.
•
Certain features such as FDP, CDP, UDLD and LACP that make the port run in dual mode can
cause traffic to be rate limited to less than the expected requested rate. When the port is in
dual-mode, all incoming or outgoing packets are treated as tagged. An extra 4 bytes is added
to the length of the packet to account for the tag, thus causing the requested rate to be less
than the expected requested rate. Ports in dual mode are assumed to be tagged ports for rate
limiting purpose.
•
The CAM can hold up to 1024 ACL, PBR, and Rate Limiting entries and this maximum is divided
as follows:
•
ACL – 416 entries
•
Rate Limiting – 416, entries shared with PBR
Also note:
•
Port-based and VLAN-based rate limiting policies consume one CAM entry per policy.
Summary of Contents for Brocade DCX
Page 40: ...xl BigIron RX Series Configuration Guide 53 1001810 01 ...
Page 72: ...lxxii BigIron RX Series Configuration Guide 53 1001810 01 ...
Page 88: ...16 BigIron RX Series Configuration Guide 53 1001810 01 Searching and filtering output 1 ...
Page 300: ...228 BigIron RX Series Configuration Guide 53 1001810 01 Displaying IP information 7 ...
Page 318: ...246 BigIron RX Series Configuration Guide 53 1001810 01 Deploying a LAG 8 ...
Page 418: ...346 BigIron RX Series Configuration Guide 53 1001810 01 SuperSpan 12 ...
Page 482: ...410 BigIron RX Series Configuration Guide 53 1001810 01 MRP CLI example 14 ...
Page 506: ...434 BigIron RX Series Configuration Guide 53 1001810 01 Displaying VSRP information 15 ...
Page 582: ...510 BigIron RX Series Configuration Guide 53 1001810 01 Viewing Layer 2 ACLs 20 ...
Page 634: ...562 BigIron RX Series Configuration Guide 53 1001810 01 Troubleshooting ACLs 21 ...
Page 642: ...570 BigIron RX Series Configuration Guide 53 1001810 01 Trunk formation 22 ...
Page 746: ...674 BigIron RX Series Configuration Guide 53 1001810 01 Displaying RIP filters 24 ...
Page 808: ...736 BigIron RX Series Configuration Guide 53 1001810 01 Displaying OSPF information 25 ...
Page 938: ...866 BigIron RX Series Configuration Guide 53 1001810 01 Displaying MBGP information 27 ...
Page 950: ...878 BigIron RX Series Configuration Guide 53 1001810 01 Using secure copy 28 ...
Page 988: ...916 BigIron RX Series Configuration Guide 53 1001810 01 Clearing IS IS information 29 ...
Page 1054: ...982 BigIron RX Series Configuration Guide 53 1001810 01 Sample 802 1x configurations 33 ...
Page 1108: ...1036 BigIron RX Series Configuration Guide 53 1001810 01 sFlow 39 ...
Page 1190: ...1118 BigIron RX Series Configuration Guide 53 1001810 01 Displaying RIPng information 44 ...
Page 1270: ...1198 BigIron RX Series Configuration Guide 53 1001810 01 Displaying ACLs 47 ...
Page 1310: ...1238 BigIron RX Series Configuration Guide 53 1001810 01 Displaying OSPFv3 information 48 ...
Page 1382: ...1310 BigIron RX Series Configuration Guide 53 1001810 01 Commands That Require a Reload D ...
Page 1435: ...BigIron RX Series Configuration Guide 1363 53 1001810 01 VSRP E ...
Page 1436: ...1364 BigIron RX Series Configuration Guide 53 1001810 01 VSRP E ...