Interface access
Before a remote SNMP manager can connect to the FortiGate SNMP agent, you must configure one or more FortiGate interfaces to accept SNMP connections.
To configure a FortiGate interface to accept SNMP connections in the GUI:
- Go to Network > Interfaces.
- Edit the interface.
- In the Administrative Access options, enable SNMP.
- Click OK.
To configure a FortiGate interface to accept SNMP connections in the CLI:
config system interface
edit <interface>
append allowaccess snmp
set snmp-index <integer>
config ipv6
append ip6-allowaccess snmp
end
next
end