1-4
[Switch] sflow agent ip 3.3.3.1
# Specify the IP address and port number of the sFlow collector.
[Switch] sflow collector ip 3.3.3.2
# Set the sFlow interval to 30 seconds.
[Switch] sflow interval 30
# Enable sFlow in both the inbound and outbound directions on GigabitEthernet 2/0/1.
[Switch] interface GigabitEthernet 2/0/1
[Switch-GigabitEthernet2/0/1] sflow enable inbound
[Switch-GigabitEthernet2/0/1] sflow enable outbound
# Specify the traffic sampling rate.
[Switch-GigabitEthernet2/0/1] sflow sampling-rate 100000
# Display the sFlow configuration information.
[Switch-GigabitEthernet2/0/1] display sflow
sFlow Version: 5
sFlow Global Information:
Agent IP:3.3.3.1
Collector IP:3.3.3.2 Port: 6343
Interval(s): 30
sFlow Port Information:
Interface Direction Rate Mode Status
GE2/0/1 In/Out 100000 Random Active
Troubleshooting sFlow Configuration
The Remote sFlow Collector Cannot Receive sFlow Packets
Symptom
The remote sFlow collector cannot receive sFlow packets.
Analysis
z
sFlow is not enabled globally because the sFlow agent or/and the sFlow collector is/are not
specified.
z
No port is enabled with sFlow to sample data.
z
The IP address of the sFlow collector specified on the sFlow agent is different from that of the
remote sFlow collector.
z
No IP address is configured for the Layer 3 interface on the device, or the IP address is configured,
but the UDP packets with the IP address being the source cannot reach the sFlow collector.
z
The physical link between the device and the sFlow collector fails.
Solution
1) Check whether sFlow is correctly configured by displaying sFlow configuration with the
display
sflow
command.
2) Check whether the correct IP address is configured for the device to communicate with the sFlow
collector.
3) Check whether the physical link between the device and the sFlow collector is normal.
Summary of Contents for S7906E - Switch
Page 82: ...1 4 DeviceA interface tunnel 1 DeviceA Tunnel1 service loopback group 1...
Page 200: ...1 11 DeviceB display vlan dynamic No dynamic vlans exist...
Page 598: ...ii...
Page 1757: ...4 9...
Page 1770: ...6 4...
Page 2017: ...2 11 Figure 2 3 SFTP client interface...
Page 2238: ...1 16 DeviceA cfd linktrace service instance 1 mep 1001 target mep 4002...