System information
Publication date: Feb., 2012
Revision A1
- 169 -
sampler: ThecommandletsyousFlowsamplerConfiguration
Syntax:
sampler <port-list> AL
L
/
RX
/
T
X
/
none
<0-4095>
<14-200>
<0-3600>
Parameter :
<port-list>: available value is from switch physic port density, format:
1,3-5
ALL: Sample on both RX and TX
RX: Sample on RX
TX: Sample on TX
none: Sampling is disabled
<0-4095>: If parameter sample_rate is 'N' then 1/N of packets is
sampled
<14-200>: Configures the size of the header of the sampled frame to
be copied to the Queue for further processing. The Max header size
ranges from 14 to 200 bytes
<0-3600>: Configures the polling interval for the counter sampling.
The accepted value for Counter Polling Interval ranges from 0 to 3600
seconds. Default value is 0 seconds which means polling is disabled.
EXAMPLE:
show ThecommandletsyoudhowsFlow
Syntax:
show collector
/
sampler
Parameter :
collector: Show sFlow collector
sampler: Show sFlow sampler
EXAMPLE:
Switch(sflow)# sampler 2 aLL 400 199 3600
Switch(sflow)# show sampler
sFlow sFlow Sampler Sampling Max Hdr Counter Polling
Ports Instance Type Rate Size Interval
----- -------- -------- -------- ------- ---------------
1 1 None 0 128 0
2 1 ALL 400 199 3600
3 1 None 0 128 0
4 1 None 0 128 0