Command Reference sFlow Commands
sampling.
default sflow flow max-header
Maximum length of the packet header to be copied. The range is from
18 to 256. The unit is byte.
The default length is 64 bytes.
Global configuration mode
Configure the maximum number of bytes of the packet content copied from the header of the original
packet. The copied content is recorded in the generated sample.
The following example sets the maximum length of the packet header copied during sFlow flow
sampling to 128 bytes.
Ruijie(config)# sflow flow max-header 128
Use the show sflow command to display the maximum length of the packet header copied during sFlow
flow sampling.
Use this command to configure the sampling rate of sFlow flow sampling.
sflow sampling-rate rate
Use this command to restore the default the sampling rate of sFlow flow sampling.
no sflow sampling-rate
Use this command to restore the default sampling rate of sFlow flow sampling.
default sflow sampling-rate