Alright....you want to rate limit an interface to 5Mbit? I'm going to ignore the formulas that you listed. There are 3 values with which we are concerned.
Avg Rate (CIR) - This is what traffic rate you want to allow through as 'conformant'. This value is in bits per second.
Burst Rate (Bc) - This value is a number of bytes. It is the Burst that is permitted and still remains 'conformant'.
Excess Burst (Be) - This value is also in bytes. This is additional burst which is the hard limit on the burst, the probability that a packet will be marked 'exceed' increases as the traffic rate approaches the Be burst value.
rate-limit 5000000 24000 24000 conform transmit exceed drop
Because IP traffic is bursty, you will typically want to allow a small amount of burst to pass through and be considered as 'conforming'. This is what the Bc value is. The Be allows for traffic above the Bc, with an increasing probability of it being marked excess as it approaches Be. Same general principle as frame relay.
Micah ... that is a great explanation. I have a question. I have frame access @ 192k with 2 x pvc's going into it, one at 32k and one 92k. I have implemented traffic shaping so that these pvc's can burst through the CIR. If I implement the ratelimit command on the 32k pvc like for example
rate-limit 48000 4000 4000 conform transmit exceed drop
when the data bursts through the 48000 when towards the be, will it be dropped if the F/R access is being saturated or will it look at the pvc consumption. I'm sorry but I dont quite understand. Basically, on the larger pvc I have important traffic that bursts through to the access rate most of the time but some times it is quiter and doent need the bw and this is when I was hopeing to use the rate-limit command on the other pvc to limit usage on that pvc at busy times of the day or when the other pvc is busy. When the larger pvc was quiet, it could burst through to the max. Does this make sense. Could you please advise here and is there a better way of doing this?
We are pleased to announce availability of Beta software for 16.6.3. 16.6.3 will be the second rebuild on the 16.6 release train targeted towards Catalyst 9500/9400/9300/3850/3650 switching platforms. We are looking for early feedback from custome...