Manufacturer: Aruba
Model(s): ArubaOS-Switch 2530 (YA/YB), 2540 (YC), 2930F (WC), 2930M (WC), 3810M (KB), 5400R (KB)
Notes:
- sFlow can be configured via the CLI for up to three distinct sFlow instances: once enabled, an sFlow receiver/destination can be independently configured for full flow-sampling and counter-polling.
- CLI-configured sFlow instances may be saved to the startup configuration to persist across a switch reboot.
Configuration steps (CLI)
- Define sFlow receiver/destination
sflow <receiver-instance> destination <ip-address> [< udp-port-num >]
Enables a sFlow receiver/destination. The receiver-instance number must be a 1, 2, or 3. By default, the UDP destination port number is 6343.
- Enable flow sampling
sflow <receiver-instance> sampling <port-list> <sampling rate>
Once a sFlow receiver/destination has been enabled, this command enables flow sampling for that instance. The receiver-instance number is 1, 2, or 3, and the sampling rate is the allowable non-zero skip count for the specified port or ports. To disable flow-sampling for the specified port-list, repeat the above command with a sampling rate of 0.
- Enable counter polling
sflow <receiver-instance> polling <port-list> <polling interval>
Once a sFlow receiver/destination has been enabled, this command enables counter polling for that instance. The receiver-instance number is 1, 2, or 3, and the polling interval may be set to an allowable non-zero value to enable polling on the specified port or ports. To disable counter-polling for the specified port-list, repeat the above command with a polling interval of 0.