# config system snmp communityThe option is also available on the GUI, as shown below:
edit <index_number>
set query-v1-port <port_number> <---- port that the FortiGate should open for queries
set trap-v1-lport <port_number> <---- local port for traps
set trap-v1-rport <port_number> <---- remote port for traps
set query-v2c-port <port_number>
set trap-v2c-lport <port_number>
set trap-v2c-rport <port_number>
end
Related Articles
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 2023 Fortinet, Inc. All Rights Reserved.