The sFlow agent uses two forms of sampling: statistical packet-based sampling of switched
or routed packet flows, and time-based sampling of counters.
Interface 1/0/1
Sflow collector
IP address: 192.168.10.2
Figure 38. 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
342 |
Chapter 20. SNMP
PC
Interface
1/0/2
GSM73xxS
Uplink
interface
1/0/24
Switch/Router
ProSafe Managed Switch
Interface 1/0/3
PC