4 sflow header-len, 5 sflow data-len – Accton Technology ES4626 User Manual
Page 113

113
"no” form of the command restores to the default
Parameter:
is the priority value with a valid range of 0-3.
Command Mode:
Global mode
Default:
The default value is 0
Usage Guide:
When sample packet is sent to the CPU, it is recommended not to assign
high priority for the packet so that regular receiving and sending of other protocol packet
will not be interfered. The higher the priority value is set, the higher its priority will be.
Example:
Configure the priority when sFlow receives packet from the hardware at global
mode,
switch #config)#sflow priority 1
2.8.3.4 sflow header-len
Command: sflow header-len
no sflow header-len
Function:
Configure the length of the head data packet copied in the sFlow data
sampling. The “no” form of this command restores to the default value
Parameter:
is the value of the length with a valid range of 32-256.
Command Mode:
Interface Mode
Default:
128 by default
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-Ethernet3/2)#sflow header-len 50
2.8.3.5 sflow data-len
Command: sflow data-len
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:
is the value of the length with a valide range of 500-1470
Command Mode:
Interface 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