From: Michael Zuo (mzuo@ixiacom.com)
Date: Fri Feb 23 2007 - 22:56:37 ART
Thanks for your explanation...
-----Original Message-----
From: Bob Sinclair [mailto:bob@bobsinclair.net]
Sent: Friday, February 23, 2007 5:43 AM
To: Michael Zuo
Cc: deji500@hotmail.com; ccielab@groupstudy.com
Subject: Re: IEWB-RS Technology Labs - 3550 QOS
Michael Zuo wrote:
> Hi Bob, could you elaborate on the "'match-any' syntax for the
> class-maps" part? I don't understand it...
>
> thanks
>
> -----Original Message-----
> From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf
> Of Bob Sinclair
> Sent: Saturday, January 20, 2007 9:37 AM
> To: deji500@hotmail.com; ccielab@groupstudy.com
> Subject: RE: IEWB-RS Technology Labs - 3550 QOS
>
> When doing per-VLAN class-maps on the 3550 you must use the
"match-any"
> syntax for the class-maps that do not match on VLANs. You must also
> put the match VLAN statement first. Here is a working example:
>
> vlan 201-202
> !
>
> access-list 100 permit ip any any
>
>
> class-map match-any IP_TRAFFIC <<<<<<<<<<<<<<<<<<<<<<<
> match access-group 100
> class-map match-all VLAN_201
> match vlan 201 <<<<<<<<<<<<<<<<<<<<<<<
> match class-map IP_TRAFFIC
> class-map match-all VLAN_202
> match vlan 202 <<<<<<<<<<<<<<<<<<<<<<
> match class-map IP_TRAFFIC
> !
>
Hi Michael,
As you may know, the "match-any" class-map syntax implements a logical
"or" for included matches: a match is found if the packet has any of
the match attributes. The "match-all" class-map syntax implements a
logical "and": a match is found only if the packet has all of the
attributes specified by the match statements.
It would be reasonable to ask why the IP_TRAFFIC class-map, above, uses
the match-any syntax, since here is only one match statement. The
answers I have are as follows, but are really not very satisfying:
1. The documented example uses this syntax:
http://www.cisco.com/univercd/cc/td/doc/product/lan/c3550/12225see/scg/s
wqos.htm#wp1145280
2. It will not work for me if I use "match-all" here.
-- Hth,Bob Sinclair CCIE 10427 CCSI 30427 www.netmasterclass.net A Cisco Learning Partner
This archive was generated by hypermail 2.1.4 : Thu Mar 01 2007 - 07:38:48 ART