Table of Contents |
---|
Overview
Pre-requisite
If you specify an sFlow Agent or sFlow Collector IP address, both must be of the same type: IPv4 or IPv6.
If you do not specify an sFlow Agent address but specify an sFlow Collector, then the Collector address type must be the same as the IP Address of the management interface on the switch.
If you specify an sFlow Agent IP address, the address will be a unique IP address for the sFlow agent on a specific switch, and therefore you should not apply this sFlow configuration to multiple switches or to entire fabrics.
If you do not specify an sFlow Agent IP address, the sFlow agent will use the IP address of the management interface on the switch.
Note- Sflow support must be enabled from Aruba side.
Steps for sFlow configuration
Aruba Fabric Composer, select Configuration > System > sFlow.
Select Actions > Add. The sFlow Configuration window opens.
In the Name page, complete the following fields:
Name: Enter a name for the sFlow configuration.
Description: Enter a description of the sFlow configuration.
...
Enable sFlow: Select the check box to enable sFlow.
Agent IP Address: Specify the IPv4 or IPv6 address of the sFlow agent on the Aruba switch.
Collector IP Address: Enter the IPv4 or IPv6 address of the sFlow collector.IP of CCE
Collector Port Number: Enter the port number for the IPv4 or IPv6 address of the sFlow collector, which can be between 1024 and 65535. The default port number is 6343.
Polling Interval: Specify the polling interval, which is the time period between successive interface counter samples. The polling interval can be between 5 and 300 seconds, with a default value of 20 seconds.
Sampling Rate: Specify the sampling rate, which specifies the ratio of packets observed at the data source to the samples generated. The sampling rate can be between 1 and 1,000,000. The default is 20,000 (one sample packet every 20,000 packets).
...
8. Click Next to go to the next page or Cancel to exit without saving. You can also click Back to edit the previous page.
9. In On the Summary page, check the fields for accuracy. If you need to change anything, click Back and make changes as needed.
10. Click Apply to apply the sFlow configuration or Cancel to exit without saving.
Ref. link: https://www.arubanetworks.com/techdocs/Aruba_Fabric_Composer/Content/afc60olh/sfl.htm configuration in Aruba
Verification:
Run the below command on CCE or check status on seceon GUI.
sudo tcpdump -i any port 6343 and host <device_ip>