efa inventory device snmp user create

Creates an SNMP user and SNMP group.

efa inventory device snmp user create [--ip device-ip | --name community | --group group | --enable-read-access | --enable-write-access | --enable-notify-access | --auth-protocol md5 | sha | --auth-passphrase authphrase | --priv-protocol AES128 | DES | --priv-passphrase privphrase | --help]
--ip device-ip
Specifies a comma-separated range of device IP addresses. Example: 1.1.1.1-3,1.1.1.2,2.2.2.2.
--name community
Specifies an SNMP community name.
--group group
Specifies an SNMP group name.
--enable-read-access
Specifies read access for the view.
--enable-write-access
Specifies write access for the view.
--enable-notify-access
Specifies notify access for the view.
--auth-protocol md5 | sha
Specifies notify access for the view. This parameter is set to off by default.
--auth-passphrase passphrase
Authentication password.
--priv-protocol AES128 | DES
Privacy protocol.
--priv-passphrase privphrase
Privacy password.

The command creates an SNMP user along with an SNMP group. This command is valid for SNMP v3 version only.

SLX stores the auth-passphrase and priv-passphrase in encrypted format. By default, EFA encrypts all passwords.

EFA internally creates the v3 group and manages the user to group mapping. The group is created with the first user associated with the group.

The SNMP group is automatically deleted when the last SNMP community associated with the group is removed. If you want to edit SNMP group attributes, all the corresponding users must be deleted and created with modified group settings.

efa inventory device snmp user create –-ip 10.20.246.10 –-name tempv3user –-group tempv3group 
–-enable-read-access –-enable-write-access -–enable-notify-access –-auth-protocol md5 
–-auth-passphrase tempv3passwd --priv-protocol AES128 –-priv-passphrase tempv3priv