- Community Home
- >
- Networking
- >
- Legacy
- >
- Switches, Hubs, Modems
- >
- sflow on HP2848
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2005 01:44 AM
06-08-2005 01:44 AM
SNMP is already up and correctly work.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2005 02:06 AM
06-08-2005 02:06 AM
Re: sflow on HP2848
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2005 02:16 AM
06-08-2005 02:16 AM
Re: sflow on HP2848
> "pushed" by the switch.
Can be true, yes.
Can I verify if sflow traffic is correctly send out from Procurve? I not find a lot of docs about sflow... =(
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2005 03:39 AM
06-08-2005 03:39 AM
Re: sflow on HP2848
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=752662
I think PCM+ can pull ease and/or sflow data from the switches but how it does it is beyond my level of competence.
Sorry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2005 11:26 PM
06-08-2005 11:26 PM
SolutionBelow are the quickie ways to enable sflow via the console/telnet/ssh management interface. Note where the port number goes.
Set destination Ip (the IP of the collector station--Note that ip address is in hex but withOUT the leading 0x!!!! This
is 15.29.16.93):
setmib sFlowRcvrAddress.1 -o 0F1D105D
Enable Receiver:
setmib sFlowRcvrOwner.1 -D Jeff sFlowRcvrTimeout.1 -i 100000000
Set flow sampling sampling rate to 37 on port 53.
setmib 1.3.6.1.4.1.14706.1.1.5.1.4.11.1.3.6.1.2.1.2.2.1.1.53.1 -i 37
Port 55, rate of 20:
setmib 1.3.6.1.4.1.14706.1.1.5.1.4.11.1.3.6.1.2.1.2.2.1.1.55.1 -i 20
Port 5, rate of 20:
setmib 1.3.6.1.4.1.14706.1.1.5.1.4.11.1.3.6.1.2.1.2.2.1.1.5.1 -i 20
Now set the enable to true/1:
Port 53:
setmib 1.3.6.1.4.1.14706.1.1.5.1.3.11.1.3.6.1.2.1.2.2.1.1.53.1 -i 1
Port 55:
setmib 1.3.6.1.4.1.14706.1.1.5.1.3.11.1.3.6.1.2.1.2.2.1.1.55.1 -i 1
Port 5:
setmib 1.3.6.1.4.1.14706.1.1.5.1.3.11.1.3.6.1.2.1.2.2.1.1.5.1 -i 1
Set counter polling interval:
Interval of 8 seconds, port 53:
setmib 1.3.6.1.4.1.14706.1.1.6.1.4.11.1.3.6.1.2.1.2.2.1.1.53.1 -i 8
Interval of 7 seconds, port 55:
setmib 1.3.6.1.4.1.14706.1.1.6.1.4.11.1.3.6.1.2.1.2.2.1.1.55.1 -i 7
Interval of 50 seconds, port 5:
setmib 1.3.6.1.4.1.14706.1.1.6.1.4.11.1.3.6.1.2.1.2.2.1.1.5.1 -i 50
Now set the enable to true/1:
Port 53:
setmib 1.3.6.1.4.1.14706.1.1.6.1.3.11.1.3.6.1.2.1.2.2.1.1.53.1 -i 1
Port 55:
setmib 1.3.6.1.4.1.14706.1.1.6.1.3.11.1.3.6.1.2.1.2.2.1.1.55.1 -i 1
Port 5:
setmib 1.3.6.1.4.1.14706.1.1.6.1.3.11.1.3.6.1.2.1.2.2.1.1.5.1 -i 1
Disabling:
To totally kill all sampling and to release the receiver just set timeout
to 0:
setmib sFlowRcvrTimeout.1 -i 0
If you want to keep the receiver and just disable flow sampling, you can EITHER
set the sampling rate to 0 or set enable to false/0:
Disable flow sampling on port 53 by setting enable FALSE:
setmib 1.3.6.1.4.1.14706.1.1.5.1.3.11.1.3.6.1.2.1.2.2.1.1.53.1 -i 0
If you want to keep the receiver and just disable counter polling, you can EITHER
set the interval to 0 or set enable to false/0:
Disable counter polling on port 53 by setting enable FALSE:
setmib 1.3.6.1.4.1.14706.1.1.6.1.3.11.1.3.6.1.2.1.2.2.1.1.53.1 -i 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2005 02:52 AM
06-09-2005 02:52 AM
Re: sflow on HP2848
I do:
HP2848(config)# setMIB sFlowRcvrAddress.1 -o C0A80A63
sFlowRcvrAddress.1 = c0 a8 0a 63
HP2848(config)# setMIB sFlowRcvrOwner.1 -D Jeff sFlowRcvrTimeout.1 -i 100000000
sFlowRcvrOwner.1 = Jeff
sFlowRcvrTimeout.1 = 100,000,000
but when I digit:
HP2848(config)# setMIB 1.3.6.1.4.1.14706.1.1.5.1.4.11.1.3.6.1.2.1.2.2.1.1.53.1
-i 20
1.3.6.1.4.1.14706.1.1.5.1.4.11.1.3.6.1.2.1.2.2.1.1.53.1: Unable to create.
What's wrong?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2005 01:47 AM
06-10-2005 01:47 AM
Re: sflow on HP2848
I would say that you dont have a port 53 on your switch. Do a 'walkmib sFlowFsPacketSamplingRate' to see how many ports you have. If it's a 2848 then 48 is as high as you go...
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2005 10:52 AM
06-15-2005 10:52 AM
Re: sflow on HP2848
In the examples that Jeff gave, replace the "53", "55", or "5" used as example port numbers in his commands with the correct ifIndex of each port that you wish to enable sFlow on. You must follow each step that Jeff enumerates for every such port.
On the topic of switch ifIndex values (i.e. 53 in the examples vs. your 48-port switch) you should note that depending upon your switch configuration you could actually have a "virtual" port numbered in the 50s. When a trunk or mesh is enabled on a ProCurve switch that supports sFlow, the MIB variables of the trunk or mesh constituent ports become inaccessible and are replaced by a "virtual" port that is created to represent the entire traffic flow of the mesh or trunk. So in other words if you created a trunk using ports 1, 2, and 3 of a switch the sFlow MIB variables for ifIndex values 1, 2, and 3 would subsequently "disappear" from the MIB and would be replaced with a corresponding set of MIB entries that allow sFlow to be applied to the entire trunk as an aggregate; the new MIB entries would be numbered using an ifIndex that is out of range of the device's physical ports. This creation of a virtual port allows applications to monitor aggregated traffic flow through a mesh or trunk quite simply by having the agent do the "assemblage" of data from the constituent ports within the trunk or mesh. You can determine which ifIndex has been assigned to a trunk or mesh by looking at the ifDescr fields within the MIB-II ifTable.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2005 11:16 AM
06-15-2005 11:16 AM
Re: sflow on HP2848
Also, for more information about sFlow in general you can check out sflow.org.
With regard to Les' comments about how sFlow works (pulled or pushed) it is pushed from the agent. The management application must set up the sFlow MIB (essentially performing the same steps that Jeff enumerated) so that it points to the appropriate IP address and UDP socket number. Then the switch agent can operate autonomously in terms of dispatching flow and/or counter samples via UDP packets that are directed to the configured port of the management station. The management application must periodically refresh the receiver timeout value to ensure that the agent keeps sending samples - this is a failsafe mechanism so that when a management application dies or otherwise disappears the agent eventually stops sending samples to the now-defunct UDP port.
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2005 08:23 PM
06-15-2005 08:23 PM
Re: sflow on HP2848
only few time ago I found the time to try your commands, and they work perfectly! Thank you for your tricks!
Steve,
example port numbers are ok, as you image. In your post you tell me that trunk is considered as a "virtual" port that can give me information as the same of a real port, right? How VLANs works? What is the way to enable sFlow also for VLANs stats?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2005 08:56 AM
06-17-2005 08:56 AM
Re: sflow on HP2848
Although there is a provision in the sFlow specification for providing optional counters that are specific to each VLAN, the ProCurve sFlow implementation does not implement this optional counter group. So, in short, there is no "virtual port" sort of convenient way to monitor a VLAN as there is with a trunk or mesh.
However, VLAN information can be gleaned from the flow samples by decoding the headers and tracking the VLAN information contained within them over a period of time, and then projecting the proportions from the tracked flow samples during the period onto the overall frame and octet counts from that period. At this time, this is really the only means of decoding tagged VLAN data that I am aware of.
SVB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2005 12:08 AM
11-17-2005 12:08 AM
Re: sflow on HP2848
Our SFlow collector does not support Sflow V5. How can change the version to version 4.
Up to the HP website, the HP Procurve 2848 supports the RFC 3176. And this RFC includes support for version 4 of Sflow.
Thanks in advance,
Joel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2005 03:49 AM
11-17-2005 03:49 AM
Re: sflow on HP2848
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2006 04:33 AM
06-01-2006 04:33 AM
Re: sflow on HP2848
We have a number of free tools that you might find helpful for configuring and analyzing sFlow reporting.
The tools are:
1. sflowenable is a command line utility for configuring sFlow on Procurve switches.
2. sFlowTrend is a graphical tool for analyzing and displaying sFlow data and can automatically configure sFlow using the sFlow MIB.
3. sflowtool can convert sFlow into different formats and pretty print sFlow data.
The tools are available at:
http://www.inmon.com/technology/sflowVersion5.php
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2006 08:21 AM
12-11-2006 08:21 AM
Re: sflow on HP2848
Following the procedure outlined by Jeff Brownell gives our Scrutinizer SFlow collector only counters and whatâ s more, it seems to inexplicably un-configure itself and stop sending anywhere from 1-3 hours after itâ s originally set.
Has anyone else tested his posting?
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2006 01:38 PM
12-11-2006 01:38 PM
Re: sflow on HP2848
for my personal, i use the SflowTrend to collect the sflow sample.
you can download the software from below website, it's free.
http://www.inmon.com/products/sFlowTrend.php
i hope it's helpful.
ray ma
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2008 11:58 AM
01-17-2008 11:58 AM
Re: sflow on HP2848
Set flow sampling sampling rate to 37 on port F14.
setmib 1.3.6.1.4.1.14706.1.1.5.1.4.11.1.3.6.1.2.1.2.2.1.1.F14.1 -i 37
I get the error: "cannot translate variable"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2008 12:52 PM
01-17-2008 12:52 PM
Re: sflow on HP2848
A1-A24 are 10/100
B1-B24 are 10/100
C1-C24 are 10/100
D1-D24 are 10/100
E1-E24 are 10/100
F1-F24 are 10/100/1000
The port I really care about is F14, so if you count up, it would be port 134. Is this correct?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2009 01:16 PM
12-09-2009 01:16 PM
Re: sflow on HP2848
also I see about 1500 dropped samples every hour on one of our ports. Sampling rate is set to 80, is this normal?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2009 11:29 PM
12-09-2009 11:29 PM
Re: sflow on HP2848
http://blog.sflow.com/2009/06/sampling-rates.html
The sFlow agent performs two types of monitoring: packet sampling for measuring traffic flows and counter polling for monitoring link utilization. If your traffic analyzer doesn't support sFlow counter polling, then you don't need to enable counter polling.
However, to get the most out of sFlow it is worth using an sFlow analyzer that supports all the capabilities of the protocol (packet decoding, counter polling, auto-configuration using sFlow MIB etc). The sFlowTrend application (mentioned earlier on this thread) is free and fully supports the sFlow features on HP switches:
http://www.sflowtrend.com/