cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1591
Views
5
Helpful
8
Replies

Why offered rate more than Shaping rate ?

hatman
Level 1
Level 1

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

8 Replies 8

rsavena14
Level 1
Level 1

Can you paste your policy-map configuration?

-- 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

Hi Manaschai,

Can you try removing the "service-policy pm_icmp" and test again?

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

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?

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.

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."

aoboyle01
Level 1
Level 1

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card