Use the FortiGates CLI to display the interface configuration:
#show system interface
Depending on the number of interfaces it can be difficult to spot the interfaces which are causing the problem.
Use the following command to only print the snmp-indexes:
#show system interface | grep snmp-index
Sample output
FGVM02 #show system interface | grep snmp-indexset snmp-index 1
In this example the snmp-index 3 appears twice.
To identify on which interfaces the duplicate snmp-index is configured, the following command will show the complete configuration part:
#show system interface | grep -f ‘snmp-index 3’
Sample output
#config system interface
edit "port3"
set vdom "root"
set ip 10.191.248.17 255.255.255.224
set allowaccess ping https ssh snmp http
set type physical
set snmp-index 3 <----
next
edit "port4"
set vdom "root"
set ip 10.191.7.25 255.255.255.0
set allowaccess ping
set type physical
set snmp-index 3 <----
next
end
Change the snmp-index to an unused integer value to resolve the problem:
#config system interfaceedit <port>set snmp-index <integer>end
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 2024 Fortinet, Inc. All Rights Reserved.