Troubleshooting guide
3. Troubleshooting Functional Failures During Operation
138
3.16 Troubleshooting the sFlow statistics (flow statistics) functionality
The following figure shows the workflow for troubleshooting the sFlow statistics functionality on
the Switch.
Figure 3-19: Workflow for troubleshooting the sFlow statistics functionality
3.16.1 sFlow packets cannot be sent to the collector
(1) Checking the route to the collector
See 3.7.1 Communication is not possible or is disconnected and 3.10.1 Communication is not
possible or is disconnected, and make sure that the network is correctly connected to the collector.
If the maximum size of an sFlow packet (
max-packet-size) has been modified in the
configuration, check whether it is possible to connect to the collector with the specified packet size.
(2) Using an operation command to check the operation
Execute the
show sflow command a few times to display the sFlow statistics, and check whether
the sFlow statistics functionality is running. If the underlined values do not increase, see
(3) Checking the configuration. If the values increase, see 3.7.1 Communication is not possible
or is disconnected, 3.10.1 Communication is not possible or is disconnected and (5) Checking the
settings on the collector, and make sure the network is correctly connected to the collector.
Figure 3-20: Example of the "show sflow" command output
> show sflow
Date 2006/10/24 20:04:01 UTC
sFlow service status: enable
Progress time from sFlow statistics cleared: 16:00:05
sFlow agent data :
sFlow service version : 4
CounterSample interval rate: 60 seconds
Default configured rate: 1 per 2048 packets
Default actual rate : 1 per 2048 packets
Configured sFlow ingress ports : 1/ 2-4
Configured sFlow egress ports : 5/ 9-11
Received sFlow samples : 37269
Dropped sFlow samples(Dropped Que) :
2093(2041)
Exported sFlow samples : 37269
Couldn't exported sFlow samples : 0
sFlow collector data :
Collector IP address: 192.168.4.199 UDP:6343 Source IP address: 130.130.130.1
Send FlowSample UDP packets : 12077
Send failed packets: 0
Send CounterSample UDP packets: 621
Send failed packets: 0
Collector IP address: 192.168.4.203 UDP:65535 Source IP address: 130.130.130.1
Send FlowSample UDP packets : 12077 Send failed packets: 0