Manufacturer: Aruba
Model(s): AOS-CX 4100i, 6000, 6100, 6200, 6300, 6400, 8320, 8325, 8360, 8400 series switches
Version(s): AOS-CX 10.08.0001 and later
Notes:
- Default sFlow settings
- sFlow is disabled on all interfaces.
- Collector port: UDP port 6343.
- sflow sampling mode: Ingress
- Sampling rate: 4096.
- Polling interval: 30 seconds.
- Header size: 128 bytes.
- Max datagram size: 1400 bytes.
Configuration steps
- Configure one or more sFlow collectors. This determines where the sFlow agent sends sFlow information.
switch(config)# sflow collector <ip>
- Enable the sFlow agent on all interfaces.
switch(config)# sflow (enable on all interfaces)
- Define the address of the sFlow agent.
switch(config)# sflow agent-ip <ip>
Note: By default, the source IP address for sFlow datagrams is set to the IP address of the outgoing switch interface on which the sFlow client is communicating with a collector. Since the switch can have multiple routing interfaces, datagrams can potentially be sent on different paths at different times, resulting in different source IP addresses for the same client. To resolve this issue, define a single source IP address.
For most deployments, the default values for the following settings do not need to be changed. If your deployment requires different settings, change the default values with the indicated commands:
|
sFlow setting |
Default value |
Command to change it |
|
Rate at which packets are sampled. |
1 in every 4096 packets |
sflow sampling |
|
Rate at which the switch sends data to an sFlow collector. |
30 seconds |
sflow polling |
|
Size of the sFlow header. |
128 bytes |
sflow header-size |
|
Maximum size of an sFlow datagram. |
1400 bytes |
sflow max-datagram-size |