RE: CBWFQ - Class-Default

From: Jonathan V Hays (jhays@jtan.com)
Date: Mon Nov 17 2003 - 22:39:54 GMT-3


>-----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 archive was generated by hypermail 2.1.4 : Fri Dec 12 2003 - 12:29:13 GMT-3