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

From: Todd, Douglas M. (DTODD@PARTNERS.ORG)
Date: Fri May 02 2008 - 09:22:56 ART


Just to make sure that I understand this right:
 
AF11 = 001011
11 = 001011 ?? Decimal 11?
AF12= 001100
-----------------Logical OR in binary?
xxxxxxx000111 -
 
On the match of the DSCP bit is it an AND comparison? Stating a 1 is care a 0
is don't care. I guess a test will explain that theory.... :)
 
Help?
 
Douglas

________________________________

From: nobody@groupstudy.com on behalf of Shine
Sent: Fri 5/2/2008 2:45 AM
To: 'mac ccie'; 'Cisco certification'
Subject: RE: class-map example in doc cd,is it correct?

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