2012年11月5日 星期一

HP ProCurve switch sFlow collection

HP switch 2626 確定不支援 sFlow。
The Series 2600 and 2600-PWR switches do not support sFlow.
Reference: http://bizsupport1.austin.hp.com/bc/docs/support/SupportManual/c02564099/c02564099.pdf

HP switch 2610 有支援 sFlow,之前的 Firmware 版本對於 sFlow 資料收集有誤,建議升級到 R.11.72 之後的版本。
Reference: http://bizsupport1.austin.hp.com/bc/docs/support/SupportManual/c02832255/c02832255.pdf

HP switch 2824 有支援 sFlow,建議升級到 i.10.77 之後的版本。
Reference: http://bizsupport1.austin.hp.com/bc/docs/support/SupportManual/c02564225/c02564225.pdf

HP switch 2810 有支援 sFlow,建議升級到 R.11.52 之後的版本。
Reference: http://bizsupport1.austin.hp.com/bc/docs/support/SupportManual/c03082646/c03082646.pdf

HP switch download Firmware and MIBs:
http://h17007.www1.hp.com/us/en/support/converter/index.aspx



HP switch config sFlow.
http://www.plixer.com/blog/general/how-do-i-enable-sflow-on-my-hp-procurve-2800-series-switch/
1. download and install NET-SNMP
2. download HP switch MIBs to C:\usr\share\snmp\mibs
3. setup Environment Variables (PATH, MIBS)
4. Enable sFlow via SNMP (from Server)
rem set the "sFlowRcvrAddress" OID to the IP Address of sFlow Receiver (e.g. 10.2.1.101)

rem convert the IP address to hex:
rem x:0a020165 =  10.2.1.101 !!!

snmpset -v1 -c public 10.10.10.10 1.3.6.1.4.1.14706.1.1.4.1.6.1 x:0a020165
rem set the "sFlowRcvrOwner" to scrut
snmpset -v1 -c public 10.10.10.10 1.3.6.1.4.1.14706.1.1.4.1.2.1 s: scrut
rem set the "sFlowRcvrTimeout" to 100,000,000
snmpset -v1 -c public 10.10.10.10 1.3.6.1.4.1.14706.1.1.4.1.3.1 i: 100000000

rem sFlowRcvrPort, The destination port for sFlow datagrams

snmpset -v1 -c public 10.10.10.10 1.3.6.1.4.1.14706.1.1.4.1.7.1 i: 2055
rem set the "sFlowFsPacketSamplingRate" on interface 1, 2, 3

snmpset -v1 -c public 10.10.10.10 1.3.6.1.4.1.14706.1.1.5.1.4.11.1.3.6.1.2.1.2.2.1.1.1.1 i: 50
snmpset -v1 -c public 10.10.10.10 1.3.6.1.4.1.14706.1.1.5.1.4.11.1.3.6.1.2.1.2.2.1.1.2.1 i: 50
snmpset -v1 -c public 10.10.10.10 1.3.6.1.4.1.14706.1.1.5.1.4.11.1.3.6.1.2.1.2.2.1.1.3.1 i: 50
rem set the "sFlowFsReceiver" on interface 1, 2, 3
snmpset -v1 -c public 10.10.10.10 1.3.6.1.4.1.14706.1.1.5.1.3.11.1.3.6.1.2.1.2.2.1.1.1.1 i: 1
snmpset -v1 -c public 10.10.10.10 1.3.6.1.4.1.14706.1.1.5.1.3.11.1.3.6.1.2.1.2.2.1.1.2.1 i: 1
snmpset -v1 -c public 10.10.10.10 1.3.6.1.4.1.14706.1.1.5.1.3.11.1.3.6.1.2.1.2.2.1.1.3.1 i: 1

5. run snmpset -v1 -c public 10.10.10.10 1.3.6.1.4.1.14706.1.1.4.1.3.1 i: 100000000 to reset sFlowRcvrTimeout counter everyday.

6. run step 4 after switch boot up.

Collect sFlow by Software. ManageEngine NetFlow Analyzer supports sFlow after version 9.0.

沒有留言:

張貼留言