Description | This article describes how to diagnose the SNMP on a FortiSwitch. |
Scope | FortiSwitch. |
Solution |
diagnose sniffer packet any 'port 161 or 162' 4 0 a interfaces=[any] filters=[port 161 or 162] YYYY-MM-DD HH:MM:SS cpu0 in 172.24.X.Y.52353 -> 172.26.Y.Z.161: udp 99 YYYY-MM-DD HH:MM:SS internal in 172.24.X.Y.52353 -> 172.26.Y.Z.161: udp 99 YYYY-MM-DD HH:MM:SS cpu0 in 172.24.X.Y.52353 -> 172.26.0.Y.Z: udp 99 YYYY-MM-DD HH:MM:SS internal in 172.24.X.Y.52353 -> 172.26.Y.Z.161: udp 99
config system snmp sysinfo set status enable
config system snmp community set status {enable | disable}
diagnose debug application snmpd -1 diagnose debug enable
Disable the debug by executing 'diagnose debug reset'.
The above outputs will help to find out the root cause of the issue. |
Labels: