Fortinet black logo

Cookbook

Interface access

Copy Link
Copy Doc ID af0e75e9-211f-11ea-9384-00505692583a:325005
Download PDF

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

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