Thanks. With your help I found the manual entry detailing extensions (man
nfcapd):

Extensions:
           v5/v7/v9 extensions:
            1 input/output interface SNMP numbers.
            2 src/dst AS numbers.
            3 src/dst mask, (dst)TOS, direction,
            4 Next hop IP addr

           Additional information for v5/v7/v9:
           13 IP address of exporting router
           14 engine type/ID of exporter

           v9 only extensions:
            5 BGP next hop IP addr
            6 src/dst vlan id labels
            7 counter output packets
            8 counter output bytes
            9 counter aggregated flows
           10 in_src/out_dst MAC address
           11 in_dst/out_src MAC address
           12 MPLS labels 1-10

           By default extension 1 and 2 are  selected,  which  provides
compatibility  with  earlier  nfdump  version.   Extensions  can  be
           added/deleted  by  specifying  a  ','  separated list of
extension ids. Each id may be prepended by an optional sign +/- to add or
           remove a given id from the extension list. The string 'all'
means all extensions.

           Examples:
           -T all       Enables all possible extensions.
           -T +3,+4     Adds extensions 3 and 4 to the defaults 1 and 2.
           -T all,-8,-9 Set all extensions but 8 and 9
           -T -1,4      Removes default extension 1 and adds extension 4




On Tue, Apr 1, 2014 at 12:55 PM, Borja Marcos <[email protected]> wrote:

>
> On Apr 1, 2014, at 11:34 AM, Adrian Popa wrote:
>
> > Hello all,
> > Do I need to enable something specific in my nfsen config file to store
> the mpls records as well? The router was newly added so it got the mpls
> records from the begining.
> > This is the current config:
> >
> > 'CRS'   => { 'port' => '9966', 'col' => '#00ff00', 'type' => 'netflow' },
>
>
> You need to enable extensions to nfcapd.
>
> Just add this to the exporters in the nfsen.conf file:
>
> 'optarg' => '-T all'
>
> and you will enable all the extensions. If you just want to capture the
> MPLS labels, -T 12
>
> Maybe you will need to update nfdump, though. I don't know this is the
> first version that supports this. I am running 1.6.11.
>
>
>
>
> Borja.
>
>
>
------------------------------------------------------------------------------
_______________________________________________
Nfsen-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nfsen-discuss

Reply via email to