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{md5 auth-pwd| none| sha1 auth-pwd| sha256 auth-pwd| sha384 auth-pwd|sha512 auth-pwd}]

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

[privacy{aes128 privacy-phrase|aes192 privacy-phrase|aes256 privacy-phrase| des | none}]
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.
sha1auth-pwd
Sets the authentication method to SHA1 and specifies an authentication password phrase.
sha256auth-pwd
Sets the authentication method to SHA256 and specifies an authentication password phrase.
sha384auth-pwd
Sets the authentication method to SHA384 and specifies an authentication password phrase.
sha512auth-pwd
Sets the authentication method to SHA512 and specifies an authentication password phrase.
privacy
Sets SNMPv3 user privacy configuration.
aes128privacy-phrase
Sets SNMPv3 user privacy to use AES128 and specifies a privacy phrase.
aes192privacy-phrase
Sets SNMPv3 user privacy to use AES192 and specifies a privacy phrase.
aes256privacy-phrase
Sets SNMPv3 user privacy to use AES256 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.
Modes

Global configuration mode

Usage Guidelines

The no form of the command deletes the SNMP v3 user.

Examples

The following example configures displays the snmp-v3-user details.

device(config-snmp-v3-user)#
  auth      Set SNMPv3 user authentication
  do        Do command
  end       End the current configuration session and return to privileged EXEC mode
  exit      Exit from the EXEC
  help      Display this help message
  no        No commands
  read      Enable read privilege
  write     Enable write privilege

The following example displays set SNMPv3 user authentication auth details.

device(config-snmp-v3-user)# auth
  md5        MD5
  none       None
  sha1       SHA1
  sha256     SHA256
  sha384     SHA384
  sha512     SHA512

The following example displays set SNMPv3 user authentication to sha1.

device(config-snmp-v3-user)# auth sha1
  <auth-password>     Auth Pass Phrase

device(config-snmp-v3-user)# auth sha1 testauth
 

The following example shows the encryption algorithms available for snmp-v3-user at the zone AP level.

device(config)# zone test
device(config-zone)# ap-snmp-options
device(config-zone-ap-snmp-options)# ap-snmp
device(config-zone-ap-snmp-options)# snmp-v3-user test
device(config-zone-ap-snmp-options-snmp-v3-user)#
  auth             Set SNMPv3 user authentication
  do               Do command
  end              End the current configuration session and return to privileged EXEC mode
  exit             Exit from the EXEC
  help             Display this help message
  no               No commands
  notification     Enable notification privilege
  read             Enable read privilege
  write            Enable write privilege
device(config-zone-ap-snmp-options-snmp-v3-user)# auth sha1 authtest
device(config-zone-ap-snmp-options-snmp-v3-user)# privacy
  aes128     AES128
  aes192     AES192
  aes256     AES256
  des        DES
  none       None