• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1445
  • Last Modified:

Enable sFlow on HP Procurve 4208lv switch

We are implementing Solarwinds NTA and I'm trying to get sFlow working on my HP Procurve 4208vl switch.

I was able to enable sFlow by entering the following commands:

setmib sFlowRcvrAddress.1 -o 0A00020C  (10.0.2.12)
setmib sFlowRcvrOwner.1 -D sFlowowner sFlowRcvrTimeout.1 -i 100000000
setmib sFlowRcvrPort.1 -i 2055

After entering "walkmib ifName" to get the PVID mappings - I entered these command to configure port C2:

setmib sFlowFsReceiver.11.1.3.6.1.2.1.2.2.1.1.54.1 -i 1
setmib sFlowFsPacketSamplingRate.11.1.3.6.1.2.1.2.2.1.1.54.1 -i 512
setmib sFlowFsMaximumHeaderSize.11.1.3.6.1.2.1.2.2.1.1.54.1 -i 128
setmib sFlowCpReceiver.11.1.3.6.1.2.1.2.2.1.1.54.1 -i 1
setmib sFlowCpInterval.11.1.3.6.1.2.1.2.2.1.1.54.1 -i 30

After any of these commands, the following message is returned:

sFlowFsReceiver.11.1.3.6.1.2.1.2.2.1.1.54.1: Unable to create.

Can someone help me to get this working?



Useful Information:
Software revision  : L.10.23  
 ROM Version        : L.10.03

MASTER_SWITCH# walkmib 1.3.6.1.4.1.14706
sFlowVersion.0 = 1.3;HP;L.10.23
sFlowAgentAddressType.0 = 1
sFlowAgentAddress.0 = 0a 00  02 11
sFlowRcvrOwner.1 = sFlowowner
sFlowRcvrTimeout.1 = 99,946,298
sFlowRcvrMaximumDatagramSize.1 = 1400
sFlowRcvrAddressType.1 = 1
sFlowRcvrAddress.1 = 0a 00  02 0c
sFlowRcvrPort.1 = 2055
sFlowRcvrDatagramVersion.1 = 5


Websites I used for info:
http://m1xed0s.blogspot.com/2012_12_01_archive.html
http://thwack.solarwinds.com/thread/53070
0
Angeal
Asked:
Angeal
  • 5
  • 5
3 Solutions
 
rharland2009Commented:
Try your commands spelled out MIBwise in the setmib.
Like this.

setmib 1.3.6.1.4.1.14706.1.1.6.1.3.11.1.3.6.1.2.1.2.2.1.1.54.1 -i 1
0
 
AngealAuthor Commented:
Hi Rharland2009,

Unfortunately, I received the same response:

1.3.6.1.4.1.14706.1.1.6.1.3.11.1.3.6.1.2.1.2.2.1.1.54.1: Unable to create.
0
 
rharland2009Commented:
Okay. Just curious - if you do a getmib of that same string, do you get a result?
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
AngealAuthor Commented:
getmib 1.3.6.1.4.1.14706.1.1.6.1.3.11.1.3.6.1.2.1.2.2.1.1.54.1 -i 1
Cannot translate variable -i.
0
 
rharland2009Commented:
Sorry, leave the variable and value off.
0
 
AngealAuthor Commented:
Odd, port C2 (ifname.54) results with "no such name" but a higher number port D22 (ifname.100), I received a return value of 0:

# getmib sFlowFsReceiver.11.1.3.6.1.2.1.2.2.1.1.54.1
sFlowFsReceiver.11.1.3.6.1.2.1.2.2.1.1.54.1: No such name.

# getmib sFlowFsReceiver.11.1.3.6.1.2.1.2.2.1.1.100.1
sFlowFsReceiver.11.1.3.6.1.2.1.2.2.1.1.100.1 = 0
0
 
rharland2009Commented:
Okay.
Try to configure your steps on the higher interface and post results.
0
 
AngealAuthor Commented:
I looked at our config and ports C1-C4 were part of a trunk group. After running the walkmib ifName command, and the very bottom I found:

...
...
ifName.209 = Trk1
...

Trk1 contains C1 - C4
I ran the commands above, and they worked.

Thanks very much Rharland2009 for your help!
0
 
rharland2009Commented:
No problem....glad it's working for you!
0
 
AngealAuthor Commented:
Extremely helpful! Thank you Rharland2009 for pointing me in the right direction.
0

Featured Post

Evaluating UTMs? Here's what you need to know!

Evaluating a UTM appliance and vendor can prove to be an overwhelming exercise.  How can you make sure that you're getting the security that your organization needs without breaking the bank? Check out our UTM Buyer's Guide for more information on what you should be looking for!

  • 5
  • 5
Tackle projects and never again get stuck behind a technical roadblock.
Join Now