2-543
Catalyst 6500 Series Switch Command Reference—Release7.6
78-15328-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands set snmp targetparams
set snmp targetparams
To configure the SNMP parameters used in the snmpTargetParamsTable when generating a message to
a target, use the set snmp targetparams command.
set snmp targetparams [-hex] {paramsname} user [-hex] {username} {security-model {v1 |
v2c}} {message-processing {v1 | v2c | v3}} [volatile | nonvolatile]
set snmp targetparams [-hex] {paramsname} user [-hex] {username} {security-model v3}
{message-processing v3 {noauthentication | authentication | privacy}} [volatile |
nonvolatile]
Syntax Description
Defaults The default storage type is volatile.
Command Types Switch command.
Command Modes Privileged.
-hex (Optional) Displays the paramsname and username in a hexadecimal
format.
paramsname Name of the parameter in the snmpTargetParamsTable; the maximum
length is 32 bytes.
user Specifies the SNMP group username.
username Name of the SNMP user that belongs to the SNMP group; the ma ximum
length is 32 bytes.
security-model
v1 | v2c Specifies security-model v1 or v2c.
message-processing
v1 | v2c | v3 Specifies the version number used by the message processing model.
security-model v3 Specifies security-model v3.
message-processing
v3 Specifies v3 is used by the message-processing model.
noauthentication Specifies the security model is not set to use the authentication protocol.
authentication Specifies the type of authentication protocol.
privacy Specifies the messages sent on behalf of the user are protected from
disclosure.
volatile (Optional) Specifies that the storage type is defined as temporary
memory and the content is deleted if the device is turned off.
nonvolatile (Optional) Specifies that the storage type is defined as persistent
memory and the content remains after the device is turned off and on
again.