Configuring System Information 277
Figure 6-126. sFlow Sampler Summary
Configuring and Viewing sFlow Settings Using CLI Commands
For information about the CLI commands that perform this function, see the
sFlow Commands
chapter
in the
CLI Reference Guide
. The following table summarizes the equivalent CLI commands you use to
configure and view sFlow settings.
sFlow Poll Configuration
The sFlow agent collects time-based sampling of network interface statistics and sends them to the
configured sFlow receivers. A data source configured to collect counter samples is called a poller.
Counter Sampling
The primary objective of Counter Sampling is to efficiently, periodically export counters associated with
Data Sources. A maximum Sampling Interval is assigned to each sFlow instance associated with a Data
Source.
Counter Sampling is accomplished as follows:
The sFlow Agent keeps a list of counter sources being sampled. When a Packet Flow Sample is
generated, the sFlow Agent examines the list and adds counters to the sample datagram, least recently
sampled first. Counters are only added to the datagram if the sources are within a short period, i.e. five
seconds, of fail ing to me et the r equired Sampli ng Interval. Periodically, i.e. every second, the sFlow Agent
examines the list of counter sources and sends any counters that need to be sent to meet the sampling
interval requirement.
Table 6-65. sFlow Settings Commands
CLI Command Description
sflow sampling Enables a new sflow sampler instance for this data source if rcvr_idx is
valid.
show sflow sampling Displays the sFlow sampling instances created on the swi tch.
show sflow polling Displays the sFlow polling instances created on the swi tch.