Created on
07-15-2024
09:29 PM
Edited on
05-27-2025
06:58 AM
By
Jean-Philippe_P
Description | This article describes points that need to be considered when the SNMP v1/v2/v3 snmpwalk is not working. |
Scope | FortiGate v7.0.x, v7.2.x, v7.4.x. |
Solution |
If the SNMP has been configured and the snmpwalk has not been received successfully, refer to the points below that must be considered when configuring SNMP in FortiGate.
Refer to the link below to understand how to add the device to TrustHost under the administrator settings:
If there is still the issue, collect the below logs and share them with the TAC:
Terminal 1:
Terminal 2:
Terminal 3:
Terminal 4:
Now, perform snmpwalk from the snmpserver. Once the error message appears in snmpserver, stop the above debug using the following command:
SNMP Walk Counter Behavior on FortiGate Non-Management VDOM Interfaces. When performing an SNMP Walk operation on a FortiGate device, it is important to note that interface counters will not increment (remaining at zero) if the SNMP request is initiated through an interface bound to a non-management VDOM.
Details:
For example, if a VLAN interface is configured within VDOM B but is physically bound to an interface in VDOM A (the root or management VDOM), FortiGate can maintain connectivity between the VLAN interface and the SNMP server. Nonetheless, when an SNMP Walk is executed using the VLAN interface in VDOM B as the source, the counters will not increment. This is due to the fact that all SNMP Walk requests and responses are managed by the root or management VDOM interface. The SNMP agent, residing in the root or management VDOM, holds the monitoring data for all VDOMs, including VDOM B, but does not expose counter values for interfaces outside the management domain through non-management interfaces.
The root or management VDOM acquires interface updates from other VDOMs via inter-VDOM links and is exclusively responsible for responding to the SNMP manager. Consequently, SNMP Walk operations directed through non-management VDOM interfaces will not reflect accurate counter data. |
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 2025 Fortinet, Inc. All Rights Reserved.