The following commands configure an Allied Telesis switch to sample packets at 1-in-512, poll counters every 30 seconds and send sFlow to an analyzer (10.0.0.50) over UDP using the default sFlow port (6343):
awplus> enable awplus# configure terminal awplus(config)# sflow collector ip 10.0.0.50 port 6343 awplus(config)# interface port1.0.1-port1.0.24 awplus(config-if)# sflow sampling-rate 512 awplus(config-if)# sflow polling-interval 30 awplus(config-if)# set sflow collector ip 10.0.0.50 awplus(config-if)# exit awplus(config)# sflow enable
A previous posting discussed the selection of sampling rates. Additional information can be found on the Allied Telesis web site.
See Trying out sFlow for suggestions on getting started with sFlow monitoring and reporting.
No comments:
Post a Comment