Class-based shaping

From: Nguyen Hoang Long (ng-hlong@hn.vnn.vn)
Date: Sun May 11 2003 - 08:39:13 GMT-3


Hi group,

I hv question about <cir> value when config Class-based shaping with 'peak'
option, the command is

assume that the Peak rate shaping is 512kbps, in all document i found that the
config is:

class-map match-all voice
  match ip precedence 5
!
!
policy-map QOS
  class voice
   shape peak 512000 <-------------- this value is used in all document

But when I do verifying:

R2#sh policy-map int f 0/0
 FastEthernet0/0

  Service-policy output: QOS (1071)

    Class-map: voice (match-all) (1073/2)
      16 packets, 5824 bytes
      5 minute offered rate 0 bps, drop rate 0 bps
      Match: ip precedence 5 (1077)
      Traffic Shaping
        Target Byte Sustain Excess Interval Increment Adapt
        Rate Limit bits/int bits/int (ms) (bytes) Active
        1024000 3200 12800 12800 25 3200 -
<------------ target Rate now is 1024000, 2 times the configured value.

I know that when be is not specified, be=bc, so peak rate = 2 x CIR
Therefore, to achieve peak rate of 512kbps, the config should be: "shape peak
256000". (not "shape peak 512000" as said in Document)

Can someone pls. help, which value should I use in the Lab if i'm asked to do
as above.

Thanks,
Long.



This archive was generated by hypermail 2.1.4 : Mon Jun 02 2003 - 15:13:40 GMT-3