polling-interval

 

Syntax

Hierarchy Level

Release Information

Statement introduced in Junos OS Release 9.3 for EX Series switches.

Statement introduced in Junos OS Release 11.3 for the QFX Series.

Statement introduced in Junos OS Release 14.1X53-D20 for the OCX Series.

Statement introduced in Junos OS Release 17.2R1 for the ACX5000 line of routers.

Statement introduced in Junos OS Release 18.1R1 for MX Series routers.

Statement introduced in Junos OS Release 18.2R1 for PTX Series routers.

Description

Configure the interval (in seconds) that the device waits between port statistics update messages. Polling refers to the device successively gathering various statistics for the network interfaces configured for sFlow monitoring and exporting the statistics to the configured sFlow collector.

Default

If no polling interval is configured for a particular interface, the device uses the global polling interval configured at the [edit protocols sflow] hierarchy level. If no global interval is configured, the device uses the default polling interval of 20 seconds.

Options

seconds—Number of seconds between successive samples of interface statistics. Specifying a value of 0 (zero) disables the polling.

Range: 0 through 3600 seconds

Default: 20 seconds

Required Privilege Level

routing—To view this statement in the configuration.

routing-control—To add this statement to the configuration.