NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

nsskyetech's avatar
nsskyetech
Aspirant
Feb 27, 2017

M4100-50G-POE+ sFlow

Hello All;

M4100-50G-POE+ ProSafe 48-port Gigabit L2+ Intelligent Edge PoE Managed Switch, 10.0.1.16, B1.0.0.9

Trying to setup sFlow with PRTG.  Has any one don this.

When I setup the M4100 to have this configuration.
sFlow Receiver Configuration
     
     Receiver  Receiver    Receiver      No    Maximum  Receiver      Receiver Datagram
    Index      Owner            Timeout       Timeout    Datagram Address      Port     Version
                        Size
    1      PRTG Netflow    31525904    False    1400     172.16.104.61    6343     5

My PRTG is at IP 172.16.104.61.  I setup a device with the IP of the M4100, then setup a device with sFlow V5.  Then setup an interface to use the receiver
sFlow Interface Configuration    
     
Interface    Poller             Sampler
        Receiver    Poller     Receiver Sampling  Maximum
        Index        Interval Index    Rate      Header Size
 
0/1        0        0     0      0        128
.
0/8        1        3000     1      1024        128

Then PRTG sensor status is unknown and the message with no data.
Sensor        Staus    Message
sFlow V5 1    Unknown    No data since 2/27/2017 11:24:57 AM

And this is after 1 hour

How can this be made to work?  What did I miss?

 

 

3 Replies

  • Hi Nsskyetech,

    Welcome to NETGEAR community!

     

    Maybe some configuration missing in your topology.

    You can find the configuration guide form the user manual as following link:

    M4100 user manual

     

    I also have a sFlow configuration on M4100 as below:
    Please check and compare with yours.


    (M4100-26G) #show sflow agent

    sFlow Version.................................. 1.3;Netgear Inc.;10.0.2.13
    IP Address..................................... 100.1.1.99 -->>this IP address used for agent .


    (M4100-26G) #show ip interface brief

    Interface State IP Address IP Mask Method
    ---------- ----- --------------- --------------- -------
    vlan 1 Up 100.1.1.99 255.255.255.0 Manual --->>this VLAN interface used for sFlow agent.


    (M4100-26G) #show sflow source-interface

    sFlow Client Source Interface.................. vlan 1
    sFlow Client Source IPv4 Address............... 100.1.1.99 [Up] --->>this Source interface used for sFlow agent.(make sure the source interface could communicate with receiver)

    (M4100-26G) #


    (M4100-26G) #show sflow receivers

    Rcvr Owner Timeout Max Dgram Port IP Address
    Indx String Size
    ---- -------------------------------- ---------- --------- ----- ---------------
    1 0 1400 6343 0.0.0.0
    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 100.1.1.154 No Timeout 1400 6343 100.1.1.154 --->>this IP address used for receiver #8 just like your PRTG.

    (M4100-26G) #show sflow samplers

    Sampler Receiver Packet Max Header
    Data Source Index Sampling Rate Size
    ----------- ------- ------------- ----------
    0/1 8 1024 128
    0/3 8 1024 128 --->assign sample with receiver's index #8 on the ports which you want to monitor.
    0/4 8 1024 128
    0/5 8 1024 128
    0/6 8 1024 128
    0/7 8 1024 128
    0/8 8 1024 128

     

     

    You can find more useful information from the user manual.

    It will help you setup sFlow

     

    sflow.png

     

    May the solution help you.

    • nsskyetech's avatar
      nsskyetech
      Aspirant

      Thank you for the Info. 

       

      I do not have a vlan on this switch, so should the 'show ip interface brief' display anything?

       I thin it should and ith should have the IP address of the switch, right?

       

      (M4100-50G-POE+) #
      (M4100-50G-POE+) #show ip interface brief

      Interface    State  IP Address      IP Mask         Method
      ----------   -----  --------------- --------------- -------

       

      Also the source-interface is blank.  I see no command either in the CLI reference or the Web interface to set this.  How can this be set?


      (M4100-50G-POE+) #show sflow source-interface                                   
      sFlow Client Source Interface.................. (not configured)


      • DanielZhang's avatar
        DanielZhang
        NETGEAR Expert

        Hi nsskyetech,

        Yes.

        We need a IP address to run this function between agent and receiver.

         

         

        We need to setup a VLAN or physical routing interface with  IP address for sFlow.

        So please check the connection between M4100 and PRTG.

        (such as:

        1.Ping M4100 from PRTG. (Do next step if Ping is OK.)

        2.Capture packets on PRTG network adapter filter with the IP address which used for M4100.(Do next step if sFlow packets received on PRTG)

        3.Check PRTG software configuration.(please check software manual of PRTG)

        )

         

         

         

        Please backup the configuration file on M4100 before the next operation.

        1.Save configuration.

        2.Upload configuration to PC or MAC.

         

        You can also upgrade M4100 to 10.0.2.x and then do a factory reset before deploy sFlow configuration.

        It will make a VLAN interface that used for management interface also work with sFlow.

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More