Specifying Maximum Packet Size Values

With sFlow version 5, you can specify the maximum size of the flow sample sent to the sFlow collector.

The following table provides information about the sFlow sample size sent to the sFlow collector when the sflow max-packet-size is configured with different values.

Maximum Packet Size Values

Maximum Packet Size (in bytes) sFlow Sample Size
0 Only the information about the packet is captured and no data from the packet is sent to the sFlow collector.
1 One byte from the packet is sent to the sFlow collector. However, the packet is padded with zeros to make it 4 bytes.
2 Two bytes from the packet is sent to the sFlow collector. However, the packet is padded with zeros to make it 4 bytes.
100 100 bytes from the packet are sent to the sFlow collector.
200 200 bytes from the packet are sent to the sFlow collector.
1200 1200 bytes from the packet are sent to the sFlow collector.