The following commands configure an IBM RackSwitch, sampling packets at 1-in-1024, polling counters every 30 seconds and sending sFlow to an analyzer (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.
RS(config)# sflow server 10.0.0.50For each port:
RS(config)# sflow port 6343
RS(config)# sflow enable
RS(config)# interface port 1A previous posting discussed the selection of sampling rates. Additional information can be found on the IBM web site.
RS(config-if)# sflow polling 30
RS(config-if)# sflow sampling 1024
See Trying out sFlow for suggestions on getting started with sFlow monitoring and reporting.