Description | This article describes a step-by-step procedure to troubleshoot sflow issues on a Managed FortiSwitch. |
Scope | FortiGate, FortiSwitch. |
Solution |
execute ping <IP>
diagnose sniffer packet any "host 10.98.254.131 and port 9996" 4 0 a (Note: Here, port 9996 is the flow port set on the switch.)
diagnose sys top
If the flow process is not seen running on the switch, check the flow process ID and kill the process on the switch.
fnsysctl ps (Something like '2198 0 129m S N /bin/sflowd' should be seen. Here, the process ID is 2198.)
fnsysctl kill -11 2198
diagnose sys top
diag debug application sflowd -1 sh full diag debug report
diag debug application sflowd -1 diag debug enable
Once the logs are captured, disable logging:
diag debug disable
|
Labels: