Netgear M4100-24G-POE+ (GSM7224P) - ProSAFE Gigabit L2+ Managed Switch Guia Do Administrador
SNMP
297
ProSAFE M4100 Managed Switches
technology to capture traffic statistics from the device it is monitoring. The sFlow datagrams
are used to immediately forward the sampled traffic statistics to an sFlow collector for
analysis.
are used to immediately forward the sampled traffic statistics to an sFlow collector for
analysis.
The sFlow agent uses two forms of sampling: statistical packet-based sampling of switched
or routed packet flows, and time-based sampling of counters.
or routed packet flows, and time-based sampling of counters.
PC
Interface
1/0/2
1/0/2
Interface 1/0/1
GSM73xxS
Interface 1/0/3
Switch/Router
Uplink
interface
1/0/24
interface
1/0/24
PC
Sflow collector
IP address: 192.168.10.2
IP address: 192.168.10.2
Figure 30. sFlow
CLI: Configure Statistical Packet-Based Sampling of Packet
Flows with sFlow
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.
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.
the duration of 31536000 seconds. That is approximately 1 year.
(Netgear Switch) (Config)# sflow receiver 1 owner NetMonitor timeout 31536000