374 | Chapter 20. SNMP
ProSafe M4100 and M7100 Managed Switches
The sFlow agent uses two forms of sampling: statistical packet-based sampling of switched
or routed packet flows, and time-based sampling of counters.
PC
Interface
1/0/2
Interface 1/0/1
GSM73xxS
Interface 1/0/3
Switch/Router
Uplink
interface
1/0/24
PC
Sflow collector
IP address: 192.168.10.2
Figure 40. sFlow
CLI: Configure Statistical Packet-Based Sampling of Packet
Flows with sFlow
1. Configure the sFlow receiver (sFlow collector) IP address. In this example, sFlow
samples will be sent to the destination address 192.168.10.2.
(Netgear Switch) (Config)# sflow receiver 1 ip 192.168.10.2
2. Configure the sFlow receiver timeout. Here sFlow samples will be sent to this receiver for
the duration of 31536000 seconds.
That is approximately 1 year.
(Netgear Switch) (Config)# sflow receiver 1 owner NetMonitor timeout 31536000