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

Forum Discussion

JohnG101's avatar
JohnG101
Follower
Apr 16, 2024

M4100-50G-POE+ sFlow with PRTG. Has anyone done this?

M4100-50G-POE+ sFlow with PRTG.  Has anyone done this?
 
M4100-50G-POE+ ProSafe 48-port Gigabit L2+ Intelligent Edge PoE Managed Switch, 10.0.1.16, B1.0.0.9
 
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/sensor 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?
--
sflow ip & interface config

(M4100-50G-POE+) #show sflow agent

sFlow Version.................................. 1.3;Netgear Inc.;10.0.1.16
IP Address..................................... 172.16.121.5

 172.16.121.5 is the address of the switch (Netgear terms= agent)

 

#show ip interface brief Interface

State IP Address IP Mask Method

---------- ----- --------------- --------------- -------
blank fields

 

(M4100-50G-POE+) #show sflow source-interface

sFlow Client Source Interface.................. (not configured)

 

---

What are the commands to configure the sflow interface & source-interface?

tried this configure command

sflow source-interface 0/49

 

came back with

 A valid routing interface must be specified.

 

---

can't seem to find the right configure commands in the CLI manual 

 

9 Replies

    • nsskyetech's avatar
      nsskyetech
      Aspirant

      Thanks for the info.

       

      I have followed the steps exactly (with my collector IP & index #)

      Still no joy of having any data show up in PRTG V23.4.90.1299

      The Receiver timeout counts down to zero and then the configuration is gone from the Receiver Configuration.

       

      What is the sFlow version in the Netgear M4100 series switches?

      What is the PRTG sFlow version?

      Are these 2 sFlow versions compatible?

       

      Any other suggestions?

       

      • RennaD's avatar
        RennaD
        NETGEAR Moderator

        Hi nsskyetech,

         

        The sFlow agent version on NETGEAR managed switches is v1.3 while I believe PRTG only supports sFlow version 5.

         


        Have a lovely day,
        RennaD
        NETGEAR Team
         

  • RennaD's avatar
    RennaD
    NETGEAR Moderator

    Thank you schumaku for pointing that out.

     

    nsskyetech I reviewed your configuration and what appears to be lacking is the sFlow Source Interface. By default it is VLAN 1, but for whatever reason this has become non routing. You will need to create either a VLAN routing interface or physical routing interface for SFlow.

     

    Below is where you can configure this in the web UI:
    for VLAN routing interface: Routing - VLAN - VLAN routing 
    for Physical routing interface: Routing - IP - Advanced - IP Configuration (to enable Routing mode) then IP Interface Configuration

     

    Once this has been configured select the routing interface under Monitoring - sFlow - Basic - sFlow Agent Information - Source Interface or run the configure command "sflow source-interface <slot/port or vlan>"

     

    Also, make sure that the receiver and source interface are able to communicate with each other. You can do a ping test from PRTG to the switch source interface to check this.

     

    Lastly, I noticed that the firmware is very old, 10.0.1.16. I suggest to update the firmware to the latest which is version 10.0.2.35. Don't forget to backup the config first.

     


    Have a lovely day,
    RennaD
    NETGEAR Team

  •  

    (M4100-50G-POE+) #show sflow agent

    sFlow Version.................................. 1.3;Netgear Inc.;10.0.1.16

    IP Address..................................... 172.16.121.5  (this is the IP address of the switch, which should be the agent address)

     

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

    Interface State IP Address IP Mask Method

    ---------- ----- --------------- --------------- -------

    (empty) (example show using vlan id) (which vlan is should be used - if any) (does this need to be set?) (if it does, how to set with CLI?)

     

    (M4100-50G-POE+) #show vlan

    Maximum VLAN Entries........................... 1024

    VLAN Entries Currently in Use.................. 2

    VLAN ID VLAN Name VLAN Type

    ------- -------------------------------- -------------------

    1 default Default

    2 Auto VoIP AUTO VoIP

     

  • RennaD's avatar
    RennaD
    NETGEAR Moderator

    Hi nsskyetech,

     

    The "#show ip interface brief" returns empty because there is no routing interface configured. Routing interface is needed to configure the sFlow source-interface. You can either use a VLAN routing interface or physical routing interface.

     

    Please see below commands on how to configure VLAN routing interface in CLI:
    # vlan database
    (vlan)# vlan routing 1
    (vlan)# exit

     

    #config
    (config)#interface vlan 1
    (Interface-vlan 1)#ip address 172.16.121.55 255.255.255.0
    (Interface-vlan 1)#exit

     


    To use this VLAN routing interface as the sFlow Agent Source Interface, please see command below:  
    #config
    (config)#sflow source-interface vlan 1

     


    Please see below links for additional information:

    Enable IP routing:
    Page59 of https://www.downloads.netgear.com/files/GDC/M4100/M4100_SWA_v10-0-1_26Mar2015.pdf

    Enable VLAN routing:
    Page72 of https://www.downloads.netgear.com/files/GDC/M4100/M4100_SWA_v10-0-1_26Mar2015.pdf

    Configure sFlow
    Page296 of https://www.downloads.netgear.com/files/GDC/M4100/M4100_SWA_v10-0-1_26Mar2015.pdf

     

    Have a lovely day,
    RennaD
    NETGEAR Team

    • nsskyetech's avatar
      nsskyetech
      Aspirant

      enabled vlan routing

       

      next to set the vlan ip interface

      (M4100-50G-POE+) #config

      (M4100-50G-POE+) (Config)#interface vlan 1

      (M4100-50G-POE+) (Interface vlan 1)#ip address 172.16.121.55 255.255.255.0

      vlan 1
      Subnet conflict between specified IP Address and current configuration.
      All routing interfaces, service ports and network ports must be configured on different subnets. (M4100-50G-POE+)

       

      - can't seem to use my subnet, so used another subnet/ip that is not on my network

      (Interface vlan 1)#ip address 192.168.121.55 255.255.255.0
      (M4100-50G-POE+) (Interface vlan 1)#exit
      (M4100-50G-POE+) (Config)#sflow source-interface vlan 1
      (M4100-50G-POE+) (Config)#exit
      (M4100-50G-POE+) #show ip interface brief
      Interface State IP Address IP Mask Method

      ---------- ----- --------------- --------------- -------
      vlan 1 Up 192.168.121.55 255.255.255.0 Manual

       

      Great but this doesn't seem to be proper.

       

      removed the vlan interface ip address.

      ---

      set the receiver configuration (to the PRTG IP) in the web gui & the sflow interface configuration

      NOW PRTG can get sflow information from the M4100 switch

       - I think it was just the 'vlan routing' being enabled.

       

      Thanks for all you help

      Just a pain that the docs don't have this info clarified

       

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