Re: GTS

From: David Fahed (dfahed@xxxxxxxxxxxx)
Date: Tue Feb 06 2001 - 11:59:02 GMT-3


   
Comments :

Traffic-shape rate <CIR in bps> <Bc in bits> <Be in Bits>

CIR The average That you want to send out (Here 2000000 bit/s)
Bc The amount of data per each Tc interval (Good value is 1/8 CIR) this
value is in bits
Be The amount of excess data allowed to be sent in the first interval (only
in the first interval).

How could i calculate Tc? Tc=Bc/Cir
So Tc = 1/8 s. So 8 interval in 1seconde.

So to calculate if we have really the Limitation of 2000000 bit/s:
Interval 1: Bc + Be = 250000 + 250000 (You add only Be in the first
interval)
Interval 2: Bc = 250000 (you are Limited to transmit Bc bit each interval
Tc)
.
.
Interval 8: Bc=250000

Total : 2250000 bit authorized in 1 second.

If you want to really limit the amount at 20000000 just put the Be to 0.

Maybe it is not clear because of my bad english but hope this help.

Yours David
"Trojanowski A. Mark" a écrit :

> Yes, I think with
> access-list 101 permit tcp any any eq ftp
> > interface Tokenring 0
> > traffic-shape group 101 2000000 250000 250000
>
> you will limit ftp outbound to 2 meg.
>
> comments ??
>
> -----Original Message-----
> From: nobody@groupstudy.com [mailto:nobody@groupstudy.com]On Behalf Of
> David Fahed
> Sent: Tuesday, February 06, 2001 9:05 AM
> To: Robert DeVito
> Cc: ccie2001uk@yahoo.com; mtrojano@cisco.com; ccielab@groupstudy.com
> Subject: Re: GTS
>
> Robert DeVito a écrit :
>
> > But will that answer his scenerio question? Will that limit the FTP
> traffic
> > to 2.5Mbps?
> >
> > ----Original Message Follows----
> > From: ccieuk <ccie2001uk@yahoo.com>
> > Reply-To: ccieuk <ccie2001uk@yahoo.com>
> > To: "Trojanowski A. Mark" <mtrojano@cisco.com>, ccielab@groupstudy.com
> > Subject: RE: GTS
> > Date: Tue, 6 Feb 2001 12:27:53 -0800 (PST)
> >
> > Mark,
> >
> > Going to try the following on my home router, but not
> > to sure how to check if its working
> > Thanks for the info
> >
> > access-list 101 permit tcp any any eq ftp
> > interface Tokenring 0
> > traffic-shape group 101 2000000 250000 250000
> >
> > --- "Trojanowski A. Mark" <mtrojano@cisco.com> wrote:
> > > I believe the first number 1000000 is in bits and
> > > the last two numbers
> > > 125000 125000 are in bytes.
> > >
> > > 125000 *8 = 1000000
> > >
> > > traffic-shape group 101 1000000 125000 125000 will
> > > give you 1000000 bit-rate
> > > 1000000 bit-burst-size 1000000
> > > bit-excess-burst-size.
> > >
> > > -Mark
> > >
> > > -----Original Message-----
> > > From: nobody@groupstudy.com
> > > [mailto:nobody@groupstudy.com]On Behalf Of
> > > ccieuk
> > > Sent: Tuesday, February 06, 2001 2:27 PM
> > > To: ccielab@groupstudy.com
> > > Subject: GTS
> > >
> > >
> > > I'm trying to set GTS on a token ring interface to
> > > restrict FTP to only 2 Mbps
> > > I found an example on the CD, but don't really
> > > understand the explanation. See below
> > >
> > > Enable GTS on the Interface Example
> > > This example shows the configuration of two
> > > traffic-shaped interfaces on a router. Ethernet 0 is
> > > configured to limit User Datagram Protocol (UDP)
> > > traffic to 1 Mbps. Ethernet 1 is configured to limit
> > > all output to 5 Mbps.
> > >
> > > access-list 101 permit udp any any
> > > interface Ethernet0
> > > traffic-shape group 101 1000000 125000 125000
> > > !
> > > interface Ethernet1
> > > traffic-shape rate 5000000 625000 625000
> > >
> > >
> > > I don't understand where the 125000 figure comes
> > > from?
> > >
> > > Any help would be appreciated
> > > Thanks
> > >
> > >



This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:28:39 GMT-3