match protocol

From: ccie2be (ccie2be@nyc.rr.com)
Date: Fri Jun 17 2005 - 17:33:48 GMT-3


Hi guys,
 
Let's say I have this config:
 
class-map WWW
 match protocol http
 
 
In terms of source or destination port, which is the above config equivalent
to?
 
 
access-list 100 permit tcp any eq www any <-- matches responses from a
web server
 
or
 
access-list 100 permit tcp any any eq www <--- matches requests to a web
server
 
 
or does it depend on in which direction I apply the service-policy?
 
 
While at first glance this might seem like a trivial issue, if the MQC
syntax is only equivalent to one of those acl statements, we better know
which one if we want to use the MQC construct and still make all our points
on the lab.
 
Any thoughts or comments?
 
TIA, Tim



This archive was generated by hypermail 2.1.4 : Wed Jul 06 2005 - 14:43:41 GMT-3