Netgear GSM7228PS - ProSAFE 28 ports Gigabit Ethernet L2 Managed Stackable Switch with PoE Guia Do Administrador
326
|
Chapter 19. SNMP
ProSafe 7000 Managed Switch Release 8.0.3
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 36. 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