Verifying The Configuration; Troubleshooting Sflow Configuration; The Remote Sflow Collector Cannot Receive Sflow Packets - HP 5920 Configuration Manual

Table of Contents

Advertisement

[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 configuration

# 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
1
3.3.3.2
Port information:
Interface
XGE1/0/1
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 interval 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.
The length of an sFlow packet is less than the length of the sFlow packet header plus the number of
bytes that flow sampling can copy per packet.
Solution
To resolve the problem:
1.
Verify that sFlow is correctly configured by using the display sflow command.
Port
Aging
6343
N/A
CID
Interval(s) FID
1
120
1
Size VPN-instance Description
1400
MaxHLen Rate
128
4000
203
netserver
Mode
Status
Random
Active

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

5900

Table of Contents