04-15-2019 01:08 PM
Most have seen the message:
(config-pmap-c)#shape average ?
<8000-1000000000> Target Bit Rate (bits per second), the value needs to be multiple of 8000
percent % of interface bandwidth for Committed information rate
My question is why does the router call for the target bit rate to be in multiples of 8000?
I am able to create policies which shape at rates that are not multiples of 8000, and apply them to interfaces.
sh policy-map int vlan100
Vlan100
Service-policy output: POLICY_MAP
Class-map: class-default (match-any)
18 packets, 1386 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: any
Traffic Shaping
Target/Average Byte Sustain Excess Interval Increment
Rate Limit bits/int bits/int (ms) (bytes)
19500/19500 1950 7800 7800 410 975
What am I missing here?
04-17-2019 03:06 AM
04-17-2019 05:15 AM
@Joseph W. Doherty wrote:
No, it's not a multiple of 8,000, the minimum bit rate, as a numeric bps, is 8,000. It would appear you've found an incorrect description for that command's usage.
Joseph, thanks for the reply. I did know about the 8k minimum for shaping on the older IOS. The incorrect description I found is from the routers CLI output. I thought maybe it was a command comment that carried over from an earlier IOS version, but was no longer correct. I guess I'll do some testing and verify that the shaping works at different speeds (not multiples of 8k).
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide