snmp-v3-user

Configures an SNMPv3 user.
Syntax
snmp-v3-useruser
no snmp-v3-useruser

After the snmp-v3-user command is entered to enable the SNMP v3 User configuration mode, the following configuration syntax is available:

[auth{md5auth-pwd|none|shaauth-pwd}|notification|read|write]

After the auth md5 or the auth sha commands are entered in SNMP v3 User configuration mode, the following additional configuration syntax is available:

[privacy{aesprivacy-phrase|desprivacy-phrase|none}]

After the notification command is entered in SNMP v3 User configuration mode, the following additional configuration syntax is available:

[notification-targetip-address[port]|notification-type{inform|trap}]
Command Default

No SNMPv3 users are configured.

Parameters
user
The SNMPv3 user name.
auth
Sets SNMPv3 user authentication.
md5auth-pwd
Sets the authentication method to MD5 and specifies an authentication password phrase.
none
Sets no authentication method.
shaauth-pwd
Sets the authentication method to SHA and specifies an authentication password phrase.
privacy
Sets SNMPv3 user privacy configuration.
aesprivacy-phrase
Sets SNMPv3 user privacy to use AES and specifies a privacy phrase.
desprivacy-phrase
Sets SNMPv3 user privacy to use DES and specifies a privacy phrase.
none
Sets no SNMPv3 user privacy.
notification
Enables notification privilege. This keyword is supported on the SmartZone 100 and vSZ-E controllers only.
notification-target
Enables notification target by setting the IP address and port.
ip-address
Specifies the IP address.
port
Specifies the port number. The range is from 1 to 65535.
notification-type
Specifies the notification type. This keyword is supported on the SmartZone 100 and vSZ-E controllers only.
inform
Specifies the notification type as informational.
trap
Specifies the notification type as an SNMP trap.
read
Enables SNMP read privileges.
write
Enables SNMP write privileges.
Modes

Global configuration mode

Usage Guidelines

The no form of the command deletes the SNMP v3 user when entered in Configuration mode. In SNMP v3 User Configuration mode, the no form is available for the notification, notification-target, read, and write keywords and applicable variables.

Note: The notification and notification-type keywords are supported on the SmartZone 100 and vSZ-E controllers only.
Examples

The following example configures an SNMPv3 user named user3 and enters SNMPv3 configuration mode. Read, authentication, privacy, and notification parameters are configured for user3. The notification syntax in this example is supported on the SmartZone 100 and vSZ-E controllers only.

device# config
device(config)# snmp-v3-user user3 
device(config-snmp-v3-user)# read
device(config-snmp-v3-user)# auth md5 mylongerpwd
device(config-snmp-v3-user)# privacy aes mypassphrase
device(config-snmp-v3-user)# notification-type inform

The following example shows how to disable the read privileges for the SNMPv3 user named user3.

device# config
device(config)# snmp-v3-user user3
device(config-snmp-v3-user)# no read

The following example deletes an SNMPv3 user named user3.

device# config
device(config)# no snmp-v3-user user3