From: Fernando Carvalho (fernando.cagica@t-online.de)
Date: Thu Feb 14 2008 - 05:32:12 ARST
Hi,
The second figure is the Bc. If you need you can use this value to define
your Tc (Tc=Bc/CIR....all values in bit/s)
If you want to meet voice requirements consider Tc=10ms.
See my example (policy-map test is applied to fastethernet 0/0):
###########To meet voice requirements##################
!
!
policy-map test
class test
shape average 300000 3000
!
!
....
....
R_3745#sh policy-map interface fast 0/0
FastEthernet0/0
Service-policy output: test
Class-map: test (match-all)
0 packets, 0 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: access-group 10
Traffic Shaping
Target/Average Byte Sustain Excess Interval Increment
Rate Limit bits/int bits/int (ms) (bytes)
300000/300000 750 3000 3000 10 375
Adapt Queue Packets Bytes Packets Bytes Shaping
Active Depth Delayed Delayed Active
- 0 0 0 0 0 no
Class-map: class-default (match-any)
45 packets, 2700 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: any
R_3745#
#####Now with different values######################
!
class-map match-all test
match access-group 10
!
!
policy-map test
class test
shape average 300000 10000
!
...
...
R_3745#sh policy-map interface fast 0/0
FastEthernet0/0
Service-policy output: test
Class-map: test (match-all)
0 packets, 0 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: access-group 10
Traffic Shaping
Target/Average Byte Sustain Excess Interval Increment
Rate Limit bits/int bits/int (ms) (bytes)
300000/300000 2500 10000 10000 33 1250
Adapt Queue Packets Bytes Packets Bytes Shaping
Active Depth Delayed Delayed Active
- 0 0 0 0 0 no
Class-map: class-default (match-any)
74 packets, 4440 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: any
R_3745#
You see the diference on Tc?
HTH
-----Urspr|ngliche Nachricht-----
Von: nobody@groupstudy.com [mailto:nobody@groupstudy.com] Im Auftrag von
Radioactive Frog
Gesendet: Donnerstag, 14. Februar 2008 00:29
An: ccie forum
Betreff: shape average
Can someone explain how to calculate second figure (1000) in the shape
average?
policy-map voice_traffic
class dscp46
shape average 30000 10000
thanks
frog
This archive was generated by hypermail 2.1.4 : Sat Mar 01 2008 - 16:54:48 ARST