Use this command to set SNMP target parameters, a named set of security/authorization criteria used to generate and send notifications to a target.
paramsname | Specifies a name identifying parameters used to generate SNMP messages to a particular target. |
user user | Specifies an SNMPv1 or v2 community name or an SNMPv3 user name. Maximum length is 32 bytes. |
security-model v1 | v2c | usm | Specifies the SNMP security model applied to this target parameter as version 1, 2c or 3 (usm). |
message-processing v1 | v2c | v3 | Specifies the SNMP message processing model applied to this target parameter as version 1, 2c or 3. |
noauthentication | authentication | privacy | (Optional) Specifies the SNMP security level applied to this target parameter as no authentication, authentication (without privacy) or privacy. Privacy specifies that messages sent on behalf of the user are protected from disclosure. |
volatile | nonvolatile | (Optional) Specifies the storage type applied to this target parameter. |
All command modes.
In C2 security mode, you can not create, delete, or modify an SNMP target parameters configuration access while in Read-Write user mode.
This example shows how to set SNMP target parameters named “v1ExampleParams” for a user named “fred” using the SNMPv3 security model, message processing, and authentication:
System(rw)->set snmp targetparams v1ExampleParams user fred security-model usm message-processing v3 authentication