You need to know the SNMP index for the interface in question (I guess this applies to virtual interfaces as well.) Here's an example of flows which are leaving the router interface identified by SNMP index 8:

In a file called 'filter_file' include:

filter-primitive dest_if  
  type ifindex  
  permit 8
  default deny
     
filter-definition IF_filter
  match output-interface dest_if

Then you can run the following example:

>flow-nfilter -f /tmp/filter_file -FIF_filter | flow-stat -f23 -S3

Joe




lucas aremu <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]

04/12/2006 10:23 AM

To
[email protected]
cc
Subject
[Flow-tools] make it flexible





Hello,

Please, can someone tell me how to specify  in the
flow-tools config to include router interface and
router virtual interface as part of the data to be
collected from router.


Aremu

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
Flow-tools mailing list
[EMAIL PROTECTED]
http://mailman.splintered.net/mailman/listinfo/flow-tools

_______________________________________________
Flow-tools mailing list
[EMAIL PROTECTED]
http://mailman.splintered.net/mailman/listinfo/flow-tools

Reply via email to