Lloyd Kwong wrote:
> Hi,
>
> I was wondering if anyone had a 'simple, easy to read' diagram that breaks
> down the fields, length of each field, and position of each field within a
> sflow datagram? I am having trouble understanding this information from
> the RFC and am trying to determine whether or not the sflow packets being
> sent from our Extreme BD6808 is including BGP/routing information.
>
> I'm using sflowtool as my collector, but am noticing that the
> routing/BGP fields
> are reported as blank or not at all. I have captured some sFlow
> packets using
> tcpdump and am trying to see if the routing/BGP fields are in the packets.
>
> Any help is appreciated.
>
> Thanks,
>
I don't have this kind of diagram, but if you are using sflowtool, just
take a look at the program's source code. It is easy to understand, just
follow the pointeur (u_int32_t *) and see how it goes from the beginning
to the end of sFlow datagram (sample by sample).
Just add some printf for example printf("Field size : 32 bits\n") in the
getData32() function and every time it is called you know a 32bits move
was done etc...
I don't know if it is the best way, but if I were you I would do that :)
Best regards,
-- Bao Network Administrator http://www.ovanet.comReceived on Tue Jun 28 05:20:57 2005
This archive was generated by hypermail 2.1.8 : 06/28/05 PDT