From: Lee Carter (l2carter@yahoo.com)
Date: Sat Jun 25 2005 - 12:35:46 GMT-3
To change that up just a bit.
ip cef              //required to match protocols
class FTP
 match protocol ftp //match both active/passive FTP
!
policy-map QoS
 class FTP
  bandwidth percent 10
 class class-default
  bandwidth percent 40
!
interface serial 0/0
 bandwidth 64       //for 64k link
 service-policy output QoS
!
This does not use access-list but it does use
class-maps. I'm not sure of another way to match a
protocol without one of the two methods.
HTH.
Lee
--- George Cassels <glcassels3@nc.rr.com> wrote:
> Well it really depends on whether they want to match
> active or passive
> ftp, but if they don't specify I am not sure if one
> way is more right
> then the other.
> 
> There is this way which matches active
> 
> Ip access-list extended ftp
> Permit tcp any any eq ftp
> Permit tcp any any eq ftp-data
> 
> Class-map ftp
> Match access-group ftp
> 
> Ip access-list extended ip
> Permit ip any any
> 
> Class-map ip
> Match access-group ip
>  
> Policy-map ccie
> Class ftp
> Bandwidth percent 10
> Class ip
> Bandwidth percent 40
> 
> Or if you wanted to match active and passive ftp:
> 
> Class-map ftp
> Match protocol ftp
> 
> This would be the only thing that would change from
> above.
> 
> Make sure you put the service policy under the
> interface.
> 
> George
> -----Original Message-----
> From: nobody@groupstudy.com
> [mailto:nobody@groupstudy.com] On Behalf Of
> cisco ccie
> Sent: Saturday, June 25, 2005 4:06 AM
> To: ccielab@groupstudy.com
> Subject: qos
> 
> Hi group...
> 
> 
> I have a question about qos that I do not know how
> to do. It goes like
> this 
> :
> 
> Classify ftp traffic and assign it 10% of bandwidth.
> 
> Remaining IP traffic should have 40% of bandwidth
> 
> Do not create class or use access-list for the IP
> traffic
> 
> 
> ccieman
> 
>
This archive was generated by hypermail 2.1.4 : Wed Jul 06 2005 - 14:43:44 GMT-3