Created on
05-29-2023
09:27 PM
Edited on
11-27-2025
01:09 AM
By
Jean-Philippe_P
| Description | This article discusses debugging SNMP errors between FortiGate and FortiNAC. |
| Scope |
FortiOS v6.x.x to v7.x.x. |
| Solution |
Error visible on FortiNAC:
FortiGate Side configuration:
Steps to be followed on the FortiGate side:
Run an SNMP debug.
Putty1:
diagnose debug disable diagnose debug reset diagnose debug application snmpd -1 diagnose debug console timestamp enable diagnose debug enable ------replicate the issue--------------------
To stop Debug:
diagnose debug reset diagnose debug disable
Run a sniffer for SNMP destination port 161.
Putty2:
diagnose sniffer packet any "port 161 or port 162" 6 0 a
Technical Tip: How to Configure FortiGate SNMP Agent for Monitoring
On the FortiNAC side:
Technical Tip: Troubleshooting SNMP Timeout Errors
Perform Troubleshooting on the FortiNAC side.
Putty 1:
tcpdump -nni eth0 host <ip address> and port 161
Putty 2: Run a snmpwalk and check for any error messages.
SNMP v1:
snmpwalk -v1 -c <R/W Community String> <ip address> system
SNMP v2:
snmpwalk -v2c -c <R/W Community String> <ip address> system
SNMP v3:
snmpwalk -v3 -u <username> -l <authpriv/authnopriv> -a <MD5/SHA> -A <password> -x <DES/AES> -X <password> <ipAddressOfDevice> system
The issue above was resolved after resynching the interface in the article below, after the above steps were checked.
It is necessary to have FortiNAC re-read the device to learn of the changes and display an accurate representation in the Ports tab in Topology View
After this, these errors should not be visible anymore if the basic connectivity is fine. |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2026 Fortinet, Inc. All Rights Reserved.