efa inventory device snmp user
create
Creates an SNMP user and SNMP
group.
Syntax
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-pass
authphrase | --priv-protocol
AES128 | DES | --priv-pass
privphrase
]
Parameters
- --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
- Sets read access for the
view.
- --enable-write-access
- Sets write access for the
view.
- --enable-notify-access
- Sets notify access for the
view.
- --auth-protocol
md5 | sha
- Sets notify access for the
view. This parameter is set to off, by default.
- --auth-pass
passphrase
- Authentication password.
- --priv-protocol
AES128 | DES
- Privacy protocol.
- --priv-pass
privphrase
- Privacy password.
Usage Guidelines
The command creates an SNMP user along with an SNMP group. This command is valid for
SNMP v3 version only.
SLX stores the auth-pass
and priv-pass
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.
Examples
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-pass tempv3passwd --priv-protocol AES128 –-priv-pass tempv3priv