Fortinet white logo
Fortinet white logo

Administration Guide

Interface access

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:

  1. Go to Network > Interfaces.
  2. Edit the interface.
  3. In the Administrative Access options, enable SNMP.
  4. 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

Interface access

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:

  1. Go to Network > Interfaces.
  2. Edit the interface.
  3. In the Administrative Access options, enable SNMP.
  4. 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