Netgear M4100-12G-POE+ (GSM7212P) - 12-Port Managed Gigabit Switch Manuel De L’Administrateur

Page de 353
SNMP 
298
ProSAFE M4100 Managed Switches 
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>.
(GSM7328S) #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                       
(GSM7328S) #
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. 
(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
5. 
View the sampling port configurations.
(GSM7328S) #show sflow samplers 
Sampler            Receiver                Packet         Max Header  
Data Source        Index                 Sampling Rate       Size  
-----------       ---------------     -----------------  ------------------
1/0/1                     1               1024                 64 
Web Interface: Configure Statistical Packet-based Sampling 
with sFlow
1. 
Configure the sFlow receiver IP address.
a.  Select Monitoring > sFlow > Advanced > sFlow Receiver Configuration
b.   Select the 1 check box.
c.  In the Receiver Owner field, enter NetMonitor.
d.   In the Receiver Timeout field, enter 31536000.