Switches, Hubs, and Modems
1751962 Members
5182 Online
108783 Solutions
New Discussion юеВ

Sflow with Procurve 3400

 

Sflow with Procurve 3400

Hello,

I have configured sflow on a HP Procurve 3400CL this way :

# setmib sFlowRcvrAddress.1 -o 0A010010

# setmib sFlowRcvrOwner.1 -D scrut sFlowRcvrTimeout.1 -i 100000000

# show sflow destination
sflow : Enabled
Datagrams Sent : 0
Destination Address : 10.1.0.16
Receiver Port : 6343
Owner : 10.1.0.16
Timeout (seconds) : 99897962
Max Datagram Size : 1400
Datagram Version Support : 5


I am not able to get sflow paquet on my appliance and the command sflow destination display NO datagrams sent. I am missing someting?

Tks
3 REPLIES 3
Michael_Breuer
Esteemed Contributor

Re: Sflow with Procurve 3400

Hi St├Г┬йphane,

I don't see anything which is missing. Did yuo install latest firmware? Do you have a route for 10.1.0.16 on the switch?

Cheers,

Michael
Ingentive Networks GmbH
netvis
Advisor

Re: Sflow with Procurve 3400

What sFlow analyzer are you using?

It looks like you are trying to manually configure sFlow monitoring using the sFlow MIB. This isn't a reliable way to configure sFlow, it is best to use software that supports the sFlow MIB:
http://blog.sflow.com/2009/06/sflow-mib.html

With software that supports the sFlow MIB, configuration of sFlow on the 3400 is plug and play, avoiding the switch CLI entirely.
Steve Britt
Respected Contributor

Re: Sflow with Procurve 3400

Hi,

You have configured the sFlow receiver, so the switch now knows where to send its datagrams. But you still have to configure the MIB to tell sFlow which interfaces you want to extract data from. I don't know the MIB-based commands offhand, but for the ProCurve switches that have sFlow CLI support the commands go like this for the sFlow sampler instance 1:

# sflow 1 destination 172.21.1.0
# sflow 1 polling A1-A24,B1-B24,C1-C24 20
# sflow 1 sampling A1-A24,B1-B24,C1-C24 60

The first sets the destination (which you have already done), the second sets counter polling on the specified interfaces every 20 seconds, and the third sets flow sampling on the specified interfaces using a mean packet sampling interval of every 60th frame. Hopefully you can find the appropriate MIB objects to set for the last two steps manually for the interfaces of interest to you.

If you have a non-Windows system to work with you could use the sFlow Toolkit (from InMon, at http://www.inmon.com/technology/sflowTools.php) to configure the switch in less laborious fashion.

Regards,

SVB