Netgear M5300-28G-POE+ (GSM7228PSv1h2) - 12-Port Managed Gigabit Switch Ratgeber Für Administratoren

Seite von 542
  Chapter 20.  SNMP
 
   
|
     
367
ProSafe Managed Switch 
3. 
 Here the default maxiumum satagram size is 1400. It can be modified to a value between 
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. 
5. 
View the sampling port configurations.
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.
(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) #
(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
(GSM7328S) #show sflow samplers 
Sampler            Receiver                Packet         Max Header  
Data Source        Index                 Sampling Rate       Size  
-----------       ---------------     -----------------  ------------------
1/0/1                     1               1024                 64