03-28-2012 01:28 AM - edited 03-04-2019 03:49 PM
Hello,
am set the traffic shaping as below but i don't know why the offer rate t can exceed ?
sh policy-map interface f0/1 output
FastEthernet0/1
Service-policy output: pm_top
Class-map: cm_icmp (match-all)
18646 packets, 23677532 bytes
30 second offered rate 3161000 bps, drop rate 0 bps
Match: protocol icmp
Traffic Shaping
Target/Average Byte Sustain Excess Interval Increment
Rate Limit bits/int bits/int (ms) (bytes)
1000000/1000000 6250 25000 25000 25 3125
Adapt Queue Packets Bytes Packets Bytes Shaping
Active Depth Delayed Delayed Active
- 0 0 0 0 0 no
03-28-2012 01:33 AM
Can you paste your policy-map configuration?
03-28-2012 01:59 AM
-- configuration --
sh policy-map pm_top
Policy Map pm_top
Class cm_icmp
Traffic Shaping
Average Rate Traffic Shaping
CIR 1000000 (bps) Max. Buffers Limit 1000 (Packets)
service-policy pm_icmp
Class class-default
03-28-2012 02:20 AM
Hi Manaschai,
Can you try removing the "service-policy pm_icmp" and test again?
03-28-2012 03:27 AM
try already but offer rate still exceed.
sh policy-map interface fastEthernet 0/1 output
FastEthernet0/1
Service-policy output: pm_top
Class-map: cm_icmp (match-all)
1160179 packets, 1541934600 bytes
30 second offered rate 1846000 bps, drop rate 683000 bps
Match: protocol icmp
Traffic Shaping
Target/Average Byte Sustain Excess Interval Increment
Rate Limit bits/int bits/int (ms) (bytes)
1000000/1000000 6250 25000 25000 25 3125
Adapt Queue Packets Bytes Packets Bytes Shaping
Active Depth Delayed Delayed Active
- 64 3394 4554748 3371 4523882 yes
Class-map: class-default (match-any)
97526 packets, 8665938 bytes
30 second offered rate 3000 bps, drop rate 0 bps
Match: any
--
sh policy-map pm_top
Policy Map pm_top
Class cm_icmp
Traffic Shaping
Average Rate Traffic Shaping
CIR 1000000 (bps) Max. Buffers Limit 1000 (Packets)
Class class-default
03-28-2012 06:48 AM
What does 'show interface' report?
Does it show more than the target rate?
During burst, it could show a little more than the target rate but the average should reflect equal or less than the target rate.
What platform are you using and IOS code?
03-28-2012 08:02 AM
Hi,
in this case a interface traffic report is difficult to check because a traffic flow have a many protocol
for class icmp is match only icmp protocol, i don't khow to verify the shaping rate is true?
because am shape avr is 1mbps but when am show policy-map command the offer rate is more than 1mbps???
How many traffic can send ?
cisco router 2800
ios c2800nm-adventerprisek9-mz.124-11.T2.bin
Thank you.
03-28-2012 08:29 AM
The offered rate will provide information on the throughput from the source(s).
In your examples, the source(s) are sending 3.1Mbps and 1.8Mbps respectively.
In your second example, you can see the shaper active and the drop count incrementing.
If you subtract the drop count from the offered rate, you can see it averages down to the shape average value.
This link provides an example of how it's seen during a policer implementation:
http://www.cisco.com/en/US/tech/tk543/tk545/technologies_tech_note09186a008010dd6a.shtml
This links provides the command output explanation:
http://www.cisco.com/en/US/docs/ios/12_3/qos/command/reference/qos_s2g.html#wp1146884
"offered rate: Rate, in kbps, of packets coming in to the class."
03-27-2014 09:03 AM
what is this Policy statement indicating:
Class-map: NETAPPS (match-all)
0 packets, 0 bytes
30 second offered rate 0 bps, drop rate 0 bps
Match: access-group name NETAPPS
Traffic Shaping
Target/Average Byte Sustain Excess Interval Increment
Rate Limit bits/int bits/int (ms) (bytes)
40000000/40000000 250000 1000000 1000000 25 125000
Adapt Queue Packets Bytes Packets Bytes Shaping
Active Depth Delayed Delayed Active
- 0 0 0 0 0 no
Attached Doc is my qos config for an MPLS circuit
It appears to not be working correctly can you help ?
Thanks,
Adrian O'Boyle
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