Netgear M4300-24X24F (XSM4348S) - Stackable Managed Switch with 48x10G including 24x10GBASE-T and 24xSFP+ Layer 3 Guia Do Administrador
SNMP
458
Managed Switches
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.
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.
3.
Here, the default maximum datagram size is 1400. It can be modified to a value between
200 and 9116 using the command sflow receiver 1 maxdatagram <size>.
200 and 9116 using the command sflow receiver 1 maxdatagram <size>.
4.
Configure the sampling port sFlow receiver index, sampling rate, and sampling maximum
header size. You need to repeat these for all the ports to be sampled.
header size. You need to repeat these for all the ports to be sampled.
(Netgear Switch) (Config)# sflow receiver 1 ip 192.168.10.2
(Netgear Switch) (Config)# sflow receiver 1 owner NetMonitor timeout 31536000
(Netgear Switch) #show sflow receivers
Receiver Owner Time out Max Datagram Port IP Address
Index String Size
-------- -------- ---------- ------------ ----- -------------------------
1 NetMonit 31535988 1400 6343 192.168.10.2
2 0 1400 6343 0.0.0.0
3 0 1400 6343 0.0.0.0
4 0 1400 6343 0.0.0.0
5 0 1400 6343 0.0.0.0
6 0 1400 6343 0.0.0.0
7 0 1400 6343 0.0.0.0
8 0 1400 6343 0.0.0.0
(Netgear Switch) (Config)# interface 1/0/1
(Netgear Switch) (Interface 1/0/1)# sflow sampler 1
(Netgear Switch) (Interface 1/0/1)# sflow sampler rate 1024
(Netgear Switch) (Interface 1/0/1)# sflow sampler maxheadersize 64