RE: class-map example in doc cd,is it correct?

From: Shine (shinepjoseph@iprimus.com.au)
Date: Fri May 02 2008 - 03:45:34 ART


Matching values on a single line means logical OR and matching on different
lines is logical AND.

The following two class maps mean the same. Note that, in the first
class-map it's matching any of the dscp values in 3 different lines and in
the second class-map it defines to match all lines, but all the values are
in a single line.

class-map match-any XYZ
  match ip dscp af11
  match ip dscp 11
  match ip dscp af12

class-map match-all XYZ_2
  match ip dscp af11 11 af12

Hope this makes sense.

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of mac
ccie
Sent: Friday, 2 May 2008 4:25 PM
To: Cisco certification
Subject: class-map example in doc cd,is it correct?

Hi,

is this correct?

Switch(config)# class-map class2

Switch(config-cmap)# match ip dscp 10 11 12

Switch(config-cmap)# end

Switch#

by default class-map is match-all and I think a single packet can not
have dscp of 10,11 or 12.

is not it should be match-any?

This was taken from doc cd

http://www.cisco.com/en/US/docs/switches/lan/catalyst3560/software/release/1
2.2_44_se/configuration/guide/swqos.html#wp1056668

Thanks,

Mac

Pass the CCIE in six weeks, Guaranteed!
http://www.certscience.com/CCIE



This archive was generated by hypermail 2.1.4 : Mon Jun 02 2008 - 06:59:15 ART