R21xx-HP FlexFabric 11900 Network Management and Monitoring Configuration Guide

100
[Sysname-Ten-GigabitEthernet1/0/1] sflow sampling-rate 4000
# Specify sFlow collector 1 for flow sampling.
[Sysname-Ten-GigabitEthernet1/0/1] sflow flow collector 1
Verifying the configurations
# Display the sFlow configuration and operation information.
[Sysname-Ten-GigabitEthernet1/0/1] display sflow
sFlow datagram version: 5
Global information:
Agent IP: 3.3.3.1(CLI)
Source address:
Collector information:
ID IP Port Aging Size VPN-instance Description
1 3.3.3.2 6343 N/A 1400 netserver
Port information:
Interface CID Interval(s) FID MaxHLen Rate Mode Status
XGE1/0/1 1 120 1 128 4000 Random Active
The output shows that Ten-GigabitEthernet 1/0/1 enabled with sFlow is active, the counter
sampling interval is 120 seconds, and the flow sampling is 4000 (one packet is sampled from
every 4000 packets).
Troubleshooting sFlow configuration
The remote sFlow collector cannot receive sFlow packets
Symptom
The remote sFlow collector cannot receive sFlow packets.
Analysis
The sFlow collector is not specified.
sFlow is not configured on the interface.
The IP address of the sFlow collector specified on the sFlow agent is different from that of the remote
sFlow collector.
No IP address is configured for the Layer 3 interface that sends sFlow packets, or the IP address is
configured, but the UDP datagrams with the IP address being the source cannot reach the sFlow
collector.
The physical link between the device and the sFlow collector fails.
The sFlow collector is bound to a non-existent VPN.
Solution
1. Check that sFlow is correctly configured by using display sflow.
2. Check that a correct IP address is configured for the device to communicate with the sFlow
collector.
3. Check that the physical link between the device and the sFlow collector is up.
4. Check that the bound VPN already exists.