sflowtool icon indicating copy to clipboard operation
sflowtool copied to clipboard

Full Parameters for sflowtool -L from sflowtool -l

Open takizo opened this issue 1 year ago • 1 comments

Good day everyone,

I would like to check what is the full params for sflowtool -L if I would like to have same data output as sflowtool -l

Currently I am using

#sflowtool -4 -p 55500 -L sampleType,agent,inputPort,outputPort,srcMAC,dstMAC,ethernet_type,in_vlan,out_vlan,srcIP,dstIP,IPProtocol,IPTOS,IPTTL,TCPSrcPort,TCPDstPort,TCPFlags,sampledPacketSize,IPSize,meanSkipCount

However, some of the data i.e ethernet_type, TCPFlags is not the same format as sflowtool -l

takizo avatar Feb 22 '24 04:02 takizo

The "sflowtool -l" should be considered an anachronistic legacy and ignored. It's tempting to improve or remove it, but that might break old scripts somewhere so not really worth the trouble. What you are doing with "sflowtool -L" makes sense to me. Depending on what comes next in your pipeline you might find the JSON output helpful too.

sflow avatar Feb 27 '24 17:02 sflow