add snmp user

Description

Adds a new user to be used by SNMPv3 protocol.

See:

Syntax

add snmp user <user> security-level

      authPriv auth-pass-type <auth-pass-type> auth-pass-phrase <auth-pass-phrase> privacy-pass-type <privacy-pass-type> privacy-pass-phrase <privacy-pass-phrase>

      authNoPriv auth-pass-type <auth-pass-type> auth-pass-phrase <auth-pass-phrase>

Parameters

Parameter

Description

auth-pass-phrase

Configures the authentication password for the SNMP v3 user.

A string that contains alphanumeric and special characters.

auth-pass-type

Configures the authentication protocol type for the SNMP v3:

  • SHA512

  • SHA256

  • SHA1

  • MD5

privacy-pass-phrase

Configures the privacy authentication password for the SNMP v3 user.

A string that contains alphanumeric and special characters.

privacy-pass-type

Configures the privacy protocol for the SNMP v3 user:

  • AES256

  • AES

  • DES

security-level

Controls whether to configure (authPriv) or not (authNoPriv) the privacy protocol for this SNMP v3 user.

user

Configures the SNMP v3 user name.

A string that contains up to 64 characters without spaces, of this set:

  • a-z (lower-case letters)

  • A-Z (upper-case letters)

  • 0-9 (digits)

  • '.' (period)

  • '-' (minus)

  • '@' (at)

Example

add snmp user SnmpUser security-level authNoPriv auth-pass-type MD5 auth-pass-phrase 12345689