From: Silvio Nunes (silvio_98@hotmail.com)
Date: Mon Nov 17 2003 - 23:32:25 GMT-3
It was sufficiently clearly now.
Thanks a lot.
Regards,
>From: David Porta <David.Porta003@msd.govt.nz>
>To: Jonathan V Hays <jhays@jtan.com>
>CC: "'Silvio Nunes'" <silvio_98@hotmail.com>, ccielab@groupstudy.com
>Subject: Re: CBWFQ - Class-Default
>Date: Tue, 18 Nov 2003 15:18:02 +1300
>
>Silvio and Jonathan,
>
>As Jonathan mentioned, we need to be very careful on how we read the
>questions and in my case I think I was too hasty on my answer. Please let
>me elaborate.
>
>Here is what I understand about your question Silvio:
>
>1) The class "class-default" (all in lower case) is a well-known class:
>!
>R100(config)#class-map class-default
>class-default is a well-known class and is not configurable under class-map
>!
>
>All traffic that is not classified, will belong to this class.
>This traffic will receive best effort treatment by default. However, you
>can configure different treatment using a policy-map statement, for
>example:
>
>!
>R100(config)#policy-map UNCLASSIFIED-TRAFFIC
>R100(config-pmap)#class class-default
>R100(config-pmap-c)#bandwidth percent 50
>R100(config-pmap-c)#queue-limit 100
>!
>
>
>2) The class named "CLASS-DEFAULT" (all in upper case) is not the same as
>class "class-default". It is a different class but with the same name.
>
>In the example you e-mailed, say you had an ACL which allowed / filtered
>only your TCP and FTP traffic.
>You could use the following configuration using this class:
>
>!
>R100(config)#class-map CLASS-DEFAULT
>R100(config-cmap)#match not access-group 100
>!
>This would classify all traffic that is not TCP or FTP into the class
>CLASS-DEFAULT.
>
>!
>R100(config)#policy-map NON-TCP-FTP-TRAFFIC
>R100(config-pmap)#class CLASS-DEFAULT
>R100(config-pmap-c)#bandwidth percent 50
>R100(config-pmap-c)#queue-limit 100
>!
>
>
>Maybe the following document will explain things better for you.
>http://www.cisco.com/en/US/customer/products/sw/iosswrel/ps5014/products_feature_guide_chapter09186a008008813a.html#19860
>
>
>
>Silvio, please let me know if this is a bit more clear.
>
>If you guys see a problem here, please let us know.
>
>Thanks Jonathan for your help.
>
>
>Cheers,
>David
>
>
>
>Jonathan V Hays wrote:
>
> > >-----Original Message-----
> > >From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On
> > >Behalf Of David Porta
> > >Sent: Monday, November 17, 2003 7:18 PM
> > >To: Silvio Nunes
> > >Cc: ccielab@groupstudy.com
> > >Subject: Re: CBWFQ - Class-Default
> > >
> > >
> > >Hi Silvio,
> > >
> > >I believe you still have to create the class "CLASS-DEFAULT"
> > >before you assign
> > >it to the policy map.
> > >ie:
> > >
> > >!
> > >class CLASS-DEFAULT
> > > match cos 1
> > >!
> >
> > First, the class "CLASS-DEFAULT" is *not* the same class as
> > "class-default". These labels are case-sensitive. See below.
> >
> > R2#conf t
> > Enter configuration commands, one per line. End with CNTL/Z.
> > R2(config)#class
> > R2(config)#class-map TEST
> > R2(config-cmap)#match any
> > R2(config-cmap)#class-map test
> > R2(config-cmap)#match any
> > R2(config-cmap)#end
> > R2#sh run | include class-map
> > class-map match-all TEST
> > class-map match-all test
> > R2#
> >
> > Second, you do *not* have to create the class "class-default."
> >
> > R2(config)#policy jonathan
> > R2(config-pmap)#class ?
> > WORD class-map name
> > class-default System default class matching otherwise unclassified
> > packets
> >
> > R2(config-pmap)#class
> >
> > Also, see
> >
> > http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/
> > fqos_c/fqcprt7/qcfipatm.htm#18050
> >
> > "Therefore, to configure per-VC WFQ, you must first create a policy map
> > and configure the class-default class. (You need not create the
> > class-default class, which is predefined, but you must configure it.)"
> >
> > http://www.cisco.com/univercd/cc/td/doc/product/aggr/10000/config/qos/ov
> > rvu.htm#1070365
> >
> > "Class-Default Class
> >
> > The class named class-default is a traffic class that the router uses to
> > classify traffic when no other traffic class is defined. You cannot
> > modify the class-default class."
> >
> > So all you need to do is configure the class-default class in your
> > policy map, if so desired.
> >
> > HTH,
> >
> > Jonathan
>
>
> -------------------------------
> This email message and any attachment(s) is intended only for the
> person(s) or entity(entities) to whom it is addressed. The
> information it contains may be classified as IN CONFIDENCE and may be
> legally privileged. If you are not the intended recipient any use,
> disclosure or copying of the message or attachment(s) is strictly
> prohibited. If you have received this message in error please
> notify us immediately and destroy it and any attachment(s).
> Thank you. The Ministry of Social Development accepts no
> responsibility for changes made to this message or to any
> attachment(s) after transmission from the Ministry.
> -------------------------------
>
This archive was generated by hypermail 2.1.4 : Fri Dec 12 2003 - 12:29:13 GMT-3