Yes, those 2 examples would accomplish the same thing. Off the top of my head I can think of 3 reasons why you'd use one over the other: Cat switches don't support NBAR, some older QoS tools only work with ACLs and there could be task restrictions on either.
On Sat, Feb 19, 2011 at 9:10 AM, John C. Durnin <[email protected]>wrote: > I've been trudging through the QOS portion of the labs and am finding in > the Solutions Guide that a lot of the times the matching is done by ACL's > equaling protocols and not matching the protocols using nbar. I wanted to > make sure that I'm understanding this correctly. Are the following 2 > examples the same? > > Example 1 > Access-list 101 permit tcp any any eq smtp > Access-list 101 permit tcp any eq smtp any > > Class-map match-all email > Match access-group 101 > > Example 2 > Class-map match-any email > Match protocol smtp > > If these 2 examples are doing the same thing, what are the pro's/con's of > using one over the other? I'm just wanting to make sure that this is just > another way to get from point A to point B and I'm not missing some bigger > picture. > _______________________________________________ > For more information regarding industry leading CCIE Lab training, please > visit www.ipexpert.com > _______________________________________________ For more information regarding industry leading CCIE Lab training, please visit www.ipexpert.com
