From: Erick B. (erickbe@xxxxxxxxx)
Date: Tue Feb 06 2001 - 20:00:51 GMT-3
Don't forget ftp has a control port and data port.
20 - ftp-data
21 - ftp (control)
--- "Trojanowski A. Mark" <mtrojano@cisco.com> wrote:
> 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-----
>
> Robert DeVito a écrit :
>
> > But will that answer his scenerio question? Will
> that limit the FTP
> traffic
> > to 2.5Mbps?
> >
> > ----Original Message Follows----
> >
> > 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-----
> > >
> > > 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?
This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:28:39 GMT-3