Chapter 11 IPsec VPN for FortiOS 5.0 : IPv6 Configuration : Configure hosts in an SNMP v1/2c community to send queries or receive traps
  
Configure hosts in an SNMP v1/2c community to send queries or receive traps
When you add a host to an SNMP v1/2c community you can now decide whether the FortiGate unit will accept queries from the host or whether the FortiGate unit will send traps to the host. You can also configure the host for both traps and queries. You can add up to 16 IPv4 hosts and up to 16 IPv6 hosts.
An IPv4 host that can send queries to the FortiGate unit
An IPv6 host that the FortiGate unit will send traps to
Use the following command to add two hosts to an SNMP community:
config system snmp community
config hosts
edit 1
set interface port1
set ip 172.20.120.1
set host-type query
end
config hosts6
edit 1
set interface port6
set ip 2001:db8:0:2::30
set host-type trap end