
BigIron RX Series Configuration Guide
1041
53-1002253-01
Configuring sFlow
39
•
Enable sFlow forwarding on individual interfaces.
NOTE
If you change the router ID or other IP address value that sFlow uses for its agent_address, you need
to disable and then re-enable sFlow to cause the feature to use the new source address.
Specifying the collector
sFlow exports traffic statistics to an external collector. You can specify up to four collectors. You can
specify more than one collector with the same IP address if the UDP port numbers are unique. You
can have up to four unique combinations of IP address and UDP port number.
To specify sFlow collectors, enter a command such as the following.
BigIron RX(config)# sflow destination 10.10.10.1
This command specifies a collector with IP address 10.10.10.1, listening for sFlow data on UDP
port 6343.
Syntax: [no] sflow destination <
ip-addr
> [<
dest-udp-port
>]
The <
ip-addr
> parameter specifies the collector’s IP address.
The <
dest-udp-port
> parameter specifies the UDP port on which the sFlow collector will be listening
for exported sFlow data. The default port number is 6343.
The sampled sFlow data sent to the collectors includes an agent_address field. This field identifies
the device that sent the data. Refer to
“Source address”
on page 1039.
Changing the polling interval
The polling interval defines how often sFlow byte and packet counter data for a port are sent to the
sFlow collectors. If multiple ports are enabled for sFlow, the device staggers transmission of the
counter data to smooth performance. For example, if sFlow is enabled on two ports and the polling
interval is 20 seconds, the device sends counter data every ten seconds. The counter data for one
of the ports are sent after ten seconds, and counter data for the other port are sent after an
additional ten seconds. Ten seconds later, new counter data for the first port are sent. Similarly, if
sFlow is enabled on five ports and the polling interval is 20 seconds, the device sends counter data
every four seconds.
The default polling interval is 20 seconds. You can change the interval to a value from 1 to any
higher value. The interval value applies to all interfaces on which sFlow is enabled. If you set the
polling interval to 0, counter data sampling is disabled.
To change the polling interval, enter a command such as the following at the global CONFIG level of
the CLI.
BigIron RX(config)# sflow polling-interval 30
Syntax: [no] sflow polling-interval <
secs
>
The <
secs
> parameter specifies the interval and can be from 1 to any higher value. The default is
20 seconds. If you specify 0, counter data sampling is disabled.
Summary of Contents for BigIron RX Series
Page 228: ...152 BigIron RX Series Configuration Guide 53 1002253 01 Enabling WAN PHY mode support 6 ...
Page 312: ...236 BigIron RX Series Configuration Guide 53 1002253 01 Displaying IP information 7 ...
Page 356: ...280 BigIron RX Series Configuration Guide 53 1002253 01 Resetting LLDP statistics 9 ...
Page 402: ...326 BigIron RX Series Configuration Guide 53 1002253 01 Transparent firewall mode 11 ...
Page 432: ...356 BigIron RX Series Configuration Guide 53 1002253 01 SuperSpan 12 ...
Page 500: ...424 BigIron RX Series Configuration Guide 53 1002253 01 MRP CLI example 14 ...
Page 591: ...BigIron RX Series Configuration Guide 515 53 1002253 01 Displaying traffic reduction 19 ...
Page 592: ...516 BigIron RX Series Configuration Guide 53 1002253 01 Displaying traffic reduction 19 ...
Page 598: ...522 BigIron RX Series Configuration Guide 53 1002253 01 Viewing Layer 2 ACLs 20 ...
Page 656: ...580 BigIron RX Series Configuration Guide 53 1002253 01 Trunk formation 22 ...
Page 754: ...678 BigIron RX Series Configuration Guide 53 1002253 01 Displaying RIP filters 24 ...
Page 814: ...738 BigIron RX Series Configuration Guide 53 1002253 01 Displaying OSPF information 25 ...
Page 980: ...904 BigIron RX Series Configuration Guide 53 1002253 01 Clearing IS IS information 28 ...
Page 1000: ...924 BigIron RX Series Configuration Guide 53 1002253 01 Using secure copy 30 ...
Page 1088: ...1012 BigIron RX Series Configuration Guide 53 1002253 01 IP source guard 35 ...
Page 1108: ...1032 BigIron RX Series Configuration Guide 53 1002253 01 Reading CDP packets 37 ...
Page 1126: ...1050 BigIron RX Series Configuration Guide 53 1002253 01 Clearing sFlow statistics 39 ...
Page 1324: ...1248 BigIron RX Series Configuration Guide 53 1002253 01 Displaying OSPFv3 information 48 ...
Page 1363: ...BigIron RX Series Configuration Guide 1287 53 1002253 01 Continuous System Monitor 51 ...
Page 1364: ...1288 BigIron RX Series Configuration Guide 53 1002253 01 Continuous System Monitor 51 ...
Page 1404: ...1328 BigIron RX Series Configuration Guide 53 1002253 01 Commands That Require a Reload D ...
Page 1458: ...1382 BigIron RX Series Configuration Guide 53 1002253 01 VSRP E ...