5 sflow data-len, 6 sflow counter-interval, Sflow data – PLANET WGSW-50040 User Manual

Page 408: Sflow counter, Interval

Advertising
background image



Usage Guide:

If the packet sample can not be identified whether it is IPv4 or IPv6 when sent to the CPU, certain

length of the head of the group has to be copied to the sFlow packet and sent out. The length of the

copied content is configured by this command.

Example:

Configure the length of the packet data head copied in the sFlow data sampling to 50.

Switch(Config-If-Ethernet1/2)#sflow header-len 50

30.5 sflow data-len

Command:

sflow data-len <length-value>

no sflow data-len

Function:

Configure the max length of the sFlow packet data; the “no sflow data-len” command restores to

the default value.

Parameter:

<length-value> is the value of the length with a value range of 500-1470.

Command Mode:

Port Mode.

Default:

The value is 1400 by default.

Usage Guide:

When combining several samples to a sFlow group to be sent, the length of the group excluding the

MAC head and IP head parts should not exceed the configured value.

Example:

Configure the max length of the sFlow packet data to 1000.

switch (Config-If-Ethernet1/2)#sflow data-len 1000

30.6 sflow counter-interval

Command:

sflow counter-interval <interval-value>

Advertising