[flow-tools] AS info from V05 files
Horatio B. Bogbindero
wyu@ateneo.edu
Tue, 10 Dec 2002 08:18:52 +0800
Quoting Pete Kruckenberg <pete@kruckenberg.com>:
> Is there any way to get the AS (autonomous system)
> information out of the V05 files? Any flow-* tools that deal
> with AS information appear to require V08 format, though the
> AS information is (supposed to be) in the V05 format.
>
make sure you have this in your router config to ensure that AS
information is handy.
ip flow-export version 5 origin-as
ip flow-export 10.0.0.1 9990
you can therefore view the AS information with:
flow-cat -p <data directory> | flow-print -f4
or:
flow-cat -p <data directory> | flow-stat -f19 (or -f20 and -f21)
btw, i suggest you read the INSTALL file because the example there
stores AS information and uses v5 netflow flows. also don't forget
to check out the man pages for flow-print and flow-stat. you can
also use the flow-report tool.
-----------------------------------------------
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