From: Digital Yemeni (digital.yemeni@gmail.com)
Date: Mon Apr 09 2007 - 01:40:36 ART
Try NBAR!
You can add a class and make look like:
class-map match-all URL
match match access-group 1 <== this is ur ACL 1
match protocol http host "www traffic"
match protocol http url "specific_directory/" <== optional!
policy-map p1
class URL
netflow-sampler flowsample
On 4/9/07, dampened <cheechew@hotmail.com> wrote:
>
> I am trying to collect only www statistic on certain traffic on an
> interface. Here is my config.
> The problem is that I am not able to limit the netflow collection to only
> www traffic. It captures all kind of traffic coming into F0/0.
>
> What am I missing here? Your help is appreciated.
>
>
> flow-sampler-map flowsample
> mode random one-out-of 1
>
> class-map match-all class1
> match access-group 100
>
> policy-map p1
> class class1
> netflow-sampler flowsample
>
> interface FastEthernet0/0
> service-policy input p1
>
> access-list 1 permit tcp any any eq www
> access-list 1 permit tcp any eq www any
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
-- Best Regards! Digital, CCIE# to be assigned by Cisco when it collects enough $$ out of me! :p
This archive was generated by hypermail 2.1.4 : Tue May 01 2007 - 08:28:35 ART