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
|--viewview-name
]
Parameters
- --ip
device-ip
- Specifies a comma-separated
range of device IP addresses. Example: 10.1.1.13,10.1.1.50,10.1.1.101.
- --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.
- --viewview-name
- Optinally specify a SNMP view name. Default view efa3View used when not specified.
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
This example creates user using a specified view.
efa inventory device snmp user create --ip 10.139.44.153 --name user1
--group group1 --view view1