5000 Series Layer 2/3 Managed Data Center Switch CLI Reference Guide
275
counts all packets, while a value of 0 disables sampling. A value of N
means that out of N incoming packets, 1 packet will be sampled. Range:
1024 – 65536, 0. The default is 0.
maxheadersize size
Maximum number of bytes to be copied from the sampler packet. The
range is 20-256, default is 128. Set to zero (0) to set parameters to their
corresponding default value.
Default
The default is None.
Command Mode
interface Config
5-177 sflow poller
A
data source configured to collect counter samples is called a poller. Use this command to enable a new
sFlow poller instance on an interface or range of interfaces for this data source if rcvr_idx is valid.
Use the
no
command to reset the sFlow poller instance to the default settings.
Note:
The sFlow task is heavily loaded when the sFlow polling interval is configured at the minimum
value (i.e., one second for all the sFlow supported interfaces). In this case, the sFlow task is always busy
collecting the counters on all the configured interfaces. This can cause the device to hang for some time
when the user tries to configure or issue show sFlow commands. To overcome this situation, sFlow
polling interval configuration on an interface or range of interfaces is controlled as mentioned below:
1. The maximum number of allowed interfaces for the polling intervals max (1, (interval - 10)) to min
((in 10), 86400) is:
interval * 5
2. For every one second increment in the polling interval that is configured, the number of allowed
interfaces that can be configured increases by 5.
sflow poller {rcvr-indx | interval poll-interval}
no sflow poller {rcvr-indx | interval poll-interval}
Parameters
rcvr-indx
Enter the sFlow Receiver associated with the sampler/poller. A value of
zero (0) means that
no receiver is configured. The range is 1-8. The
default is 0.
interval poll-interval
Enter the sFlow instance polling interval. A poll interval of zero (0)
disables counter sampling. When set to zero (0), all the poller
parameters are set to their corresponding default value. The range is 0-
86400. The default is 0. A value of N means once in N seconds a
counter sample is generated.
Default
The default is None.
Содержание 5000 Series
Страница 1: ...Draft 1 2 1 ...
Страница 141: ...5000 Series Layer 2 3 Managed Data Center Switch CLI Reference Guide 135 ...