Status Monitoring and Statistics
ExtremeWare XOS 11.3 Concepts Guide
212
Additional sFlow Configuration Options
There are three global options that you can configure to different values from the defaults. These affect
how frequently the sFlow data is sent to the remote collector, how frequently packets are sampled, and
the maximum number of sFlow samples that could be processed in the CPU per second.
You can also configure how frequently packets are sampled per port.
Polling Interval.
Each port counter is periodically polled to gather the statistics to send to the collector. If
there is more than one counter to be polled, the polling is distributed in such a way that each counter is
visited once during each polling interval, and the data flows are spaced in time. For example, assume
that the polling interval is 20 seconds and there are 40 counters to poll. Two ports will be polled each
second, until all 40 are polled. To configure the polling interval, use the following command:
configure sflow poll-interval <seconds>
Global Sampling Rate.
This is the rate that newly enabled sFlow ports will have their sample rate set to.
Changing this rate will not affect currently enabled sFlow ports. The default sample rate is 8192, so by
default sFlow samples one packet out of every 8192 received. You configure the switch to use a different
sampling rate with the following command:
configure sflow sample-rate <number>
For example, if you set the sample rate number to 16384, the switch samples one out of every 16384
packets received. Higher numbers mean fewer samples and longer times between samples. If you set
the number too low, the number of samples can be very large, which increases the load on the switch.
Do not configure the sample rate to a number lower than the default unless you are sure that the traffic
rate on the source is low.
Per Port Sampling Rate.
You can set the sampling rate on individual ports, using the following
command:
configure sflow ports <portlist> sample-rate <number>
For BlackDiamond 10K—
At the hardware level, all ports on the same slot are sampled at the same rate,
so if one port is configured to sample less frequently than another on the same slot, the extra samples
are discarded. This is indicated in the output of the
show sflow {configuration}
command as the
sub-sampling factor. For example, if one port is configured to sample one packet per every 8192 packets,
and the second port on the same slot is configured to sample one packet per every 16384 packets, the
second port will show a sub-sampling factor of two.
For Summit X450
—At the hardware level, all ports on the switch are sampled at the same rate, so if one
port is configured to sample less frequently than another, the extra samples are discarded. This is
indicated in the output of the
show sflow {configuration}
command as the sub-sampling factor. For
example, if one port is configured to sample one packet per every 8192 packets, and the second port on
the same slot is configured to sample one packet per every 16384 packets, the second port will show a
sub-sampling factor of two.
Maximum CPU Sample Limit.
A high number of samples can cause a heavy load on the switch CPU. To
limit the load, there is a CPU throttling mechanism to protect the switch. Whenever the limit is reached,
the sample rate value is doubled on the slot from which the maximum number of samples are received.
For ports on that slot that are sampled less frequently, the sampling rate is not changed; the sub-
sampling factor is adjusted downward. To configure the maximum CPU sample limit, use the following
command:
configure sflow max-cpu-sample-limit <rate>
Summary of Contents for ExtremeWare XOS 11.3
Page 20: ...Contents ExtremeWare XOS 11 3 Concepts Guide 20...
Page 25: ...1 Using ExtremeWare XOS...
Page 26: ......
Page 38: ...ExtremeWare XOS Overview ExtremeWare XOS 11 3 Concepts Guide 38...
Page 58: ...Accessing the Switch ExtremeWare XOS 11 3 Concepts Guide 58...
Page 146: ...Configuring Slots and Ports on a Switch ExtremeWare XOS 11 3 Concepts Guide 146...
Page 218: ...Status Monitoring and Statistics ExtremeWare XOS 11 3 Concepts Guide 218...
Page 240: ...Virtual LANs ExtremeWare XOS 11 3 Concepts Guide 240...
Page 248: ...Virtual Routers ExtremeWare XOS 11 3 Concepts Guide 248...
Page 278: ...Access Lists ACLs ExtremeWare XOS 11 3 Concepts Guide 278...
Page 288: ...Routing Policies ExtremeWare XOS 11 3 Concepts Guide 288 entry deny_rest if then deny...
Page 344: ...Security ExtremeWare XOS 11 3 Concepts Guide 344...
Page 393: ...2 Using Switching and Routing Protocols...
Page 394: ......
Page 454: ...Spanning Tree Protocol ExtremeWare XOS 11 3 Concepts Guide 454...
Page 484: ...Extreme Standby Router Protocol ExtremeWare XOS 11 3 Concepts Guide 484...
Page 514: ...IPv4 Unicast Routing ExtremeWare XOS 11 3 Concepts Guide 514...
Page 530: ...IPv6 Unicast Routing ExtremeWare XOS 11 3 Concepts Guide 530...
Page 538: ...RIP ExtremeWare XOS 11 3 Concepts Guide 538...
Page 556: ...OSPF ExtremeWare XOS 11 3 Concepts Guide 556...
Page 566: ...OSPFv3 ExtremeWare XOS 11 3 Concepts Guide 566...
Page 589: ...3 Appendixes...
Page 590: ......
Page 640: ...CNA Agent ExtremeWare XOS 11 3 Concepts Guide 640...
Page 670: ...Glossary ExtremeWare XOS 11 3 Concepts Guide 670...
Page 698: ...Index ExtremeWare XOS 11 3 Concepts Guide 698...