SNMP v3 users
The FortiPortal SNMP v3 implementation includes support for queries, traps, authentication, and privacy. SNMP v3 users can be created, edited, and deleted as required.
To create an SNMP user, use the following CLI syntax:
config system snmp user
edit <name>
set auth-proto {md5 | sha}
set auth-pwd <passwd>
set security-level {auth-no-priv | auth-priv | no-auth-no-priv}
set notify-hosts <ipv4_address>
set priv-proto {aes | des}
set priv-pwd <passwd>
set queries {enable | disable}
set query-port <integer>
set events <events_list>
end
end
Variable |
Description |
---|---|
<name> |
Enter an SNMPv3 user name. |
auth-proto {md5 | sha} |
Authentication protocol. The security level must be set to
|
auth-pwd <passwd> |
Password for the authentication protocol. The security level must be set to |
security-level {auth-no-priv | auth-priv | no-auth-no-priv} |
Security level for message authentication and encryption. The following options are available:
|
notify-hosts <ipv4_address> |
The IP address or addresses of the host. |
priv-proto {aes | des} |
Privacy (encryption) protocol. The security level must be set to
|
priv-pwd <passwd> |
Password for the privacy (encryption) protocol. The security level must be set to |
queries {enable | disable} |
Enable/disable queries for this user. Default: |
query-port <integer> |
SNMPv3 query port. Default: 161. Range: 1 to 65535. |
events <events_list> |
Enable the events that will cause SNMP traps to be sent to the SNMP manager.
Default: All events enabled. Note: The |
Having set up the SNMP agent, communities, and users, you can test the configuration by using the following command:
snmputil get <your_fpc_ip> SNMP_Com1 .1.3.6.1.2.1.1.5.0
where SNMP_Com1
is the name of the community you have set up.