Hello,

Using flow-stat -n -f3[012], how to generate report with symbolic names based 
on tags? Reading "man flow-tag", I found, that I need to place dictionary in 
/usr/local/etc/flow-tools/tag , but it doesn't works: all entries in first 
column of report are tags in decimal notation, even all of it exists in 
/usr/local/etc/flow-tools/tag in hexadecimal.

What do I wrong?

flow-tools version 0.67, built on FreeBSD 4.9 stable from ports.

%flow-tag -ttagdef -TLL-IN  < splitflows/flow.1 | flow-nfilter -f filter | 
flow-stat -n -f31 -S2 
#  --- ---- ---- Report Information --- --- ---
#
# Fields:    Total
# Symbols:   Enabled
# Sorting:   Descending Field 2
# Name:      Destination Tag
#
# Args:      flow-stat -n -f31 -S2 
#
#
# Dst Tag   flows                 octets                packets
#
352322331   12619                 85411012              203805
....

%grep `perl -e 'printf("0x%X\n", 352322331);'` /usr/local/etc/flow-tools/tag
0x1500031B chan1

-- 
Gennady Abramov, CCNA, CCNP; Demos-Internet NOC
[EMAIL PROTECTED], AGV77-RIPE

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

Reply via email to