[flow-tools] flow-report tag-mask option

Horatio B. Bogbindero wyu@ateneo.edu
Thu, 5 Dec 2002 09:11:58 +0800


Quoting Clayton Fiske <clay@bloomcounty.org>:

> Am I doing something wrong, or does the tag-mask option not work
> in flow-report configs? My config is:
> 
> stat-report test
>   type source/destination-tag
>   fields +octets,-flows,-packets,-duration,-bps,-pps
>   tag-mask 0xFF0000 0xFF0000
>   format ascii
>   output /var/ft/cfg/report.test
> 
> Whether I change the tag-mask to 0xFFFF00 or 0x0F0000 or any other
> combo, it seems to report by the full tags instead of the masked
> ones.
> 

are you using version 0.62?

it does not seem that you are applying the tag at all. does
you stat-definition line look like this?

stat-definition test-def
  tag MY_TAG

-----------------------------------------------
William Emmanuel S. Yu
Ateneo Campus Network Group (AteneoCNG)
email  :  wyu at ateneo dot edu
web    :  http://CNG.ateneo.net/cng/wyu/
phone  :  +63(2)4266001-4186
GPG    :  http://CNG.ateneo.net/cng/wyu/wyy.pgp