The following commands configure a Hitachi switch, sampling at 1-in-1024, polling counters every 30 seconds and sending sFlow to an analyzers (10.0.0.50) over UDP using the default sFlow port (6343):
See Trying out sFlow for suggestions on getting started with sFlow monitoring and reporting.
(config)# sflow yesA previous posting discussed the selection of sampling rates. Additional information can be found on the Hitachi web site.
[sflow]
(config)# destination 10.0.0.50 udp 6343
[sflow]
(config)# extended-information-type switch
[sflow]
(config)# polling-interval 30
[sflow]
(config)# port 1/1-24
[sflow port 1/1-24]
(config)# sample 1024
[sflow port 1/1-24]
(config)# exit
[sflow]
(config)# exit
See Trying out sFlow for suggestions on getting started with sFlow monitoring and reporting.