Lantronix
SISPM1040-582-LRT CLI Reference
33757 Rev. J
Page
236
of
272
Command
:
sflow
Description
:
Configure statistics flow on an interface.
Syntax
:
sflow
[ <sampler_idx_list> ]
sflow
counter-poll-interval [ sampler <sampler_idx_list> ] [ <poll_interval> ]
sflow
max-sampling-size [ sampler <sampler_idx_list> ] [ <max_sampling_size> ]
sflow
sampler-type [ sampler <sampler_idx_list> ] { rx | tx | all }
sflow
sampling-rate [ sampler <sampler_idx_list> ] [ <sampling_rate> ]
Parameters
:
counter-poll-interval
The interval - in seconds - between counter poller samples.
max-sampling-size
Specifies the maximum number of bytes to transmit per flow sample.
sampler-type Specifies the types of flow sample.
sampling-rate Specifies the statistical sampling rate. The sample rate is specified as N to sample
1/Nth of the packets n the monitored flows. There are no restrictions on the
value, but the switch will adjust it to the closest possible sampling rate.
<1-3600>
Poll Interval in seconds
<14-200>
Max-sampling-size in bytes
all
Sample All
rx
Sample Rx
tx
Sample Tx
<1-4294967295>
Sampling rate
<cr>
Example
:
SISPM1040-582-LRT(config-if)#
sflow counter-poll-interval 500
SISPM1040-582-LRT(config-if)#
sflow max-sampling-size 75
SISPM1040-582-LRT(config-if)#
sflow sampler-type all
SISPM1040-582-LRT(config-if)#
sflow sampling-rate 50000
SISPM1040-582-LRT(config-if)#
Command
:
shutdown
Description
:
Shutdown the interface.
Syntax
:
shutdown
<cr>
Parameters
: None.
Example
:
SISPM1040-582-LRT(config-if)#
shutdown