beautypg.com

Configuring the polling interval, Configuring the polling interval 0 – Allied Telesis AT-8100 Series User Manual

Page 1210

background image

Chapter 76: sFlow Agent

1210

Configuring the

Polling Interval

The polling interval determines how frequently the agent queries the
packet counters of the ports and sends the data to the collector. This is the
maximum amount of time allowed between successive queries of the
counters by the agent on the switch. The range is 0 to 16777215 seconds.
For example, if you set the polling interval to 400 seconds on a port, the
agent polls the counters of the designated port and sends the data to the
collector at least once every 400 seconds.

Just as with the sampling rate, a port can have just one polling rate, but
different ports can have different settings.

The command to set this value is the SFLOW POLLING-INTERVAL
command in the Port Interface mode. Here is the format of the command:

sflow polling-interval

value

This example of the command sets the polling interval to 100 seconds on
ports 4, 9, and 11:

awplus> enable
awplus# configure terminal
awplus(config)# interface port1.0.4,port1.0.9,port1.0.11
awplus(config-if)# sflow polling-interval 100

To disable the polling of the packet counters on a port, enter the value 0
for the polling interval or use the NO form of this command, as shown in
this example, which disables packet counters polling on port 23:

awplus> enable
awplus# configure terminal
awplus(config)# interface port1.0.23
awplus(config-if)# no sflow polling-interval