efa inventory device snmp community create

Creates an SNMP community and SNMP group.

Syntax

efa inventory device snmp community create [--ip device-ip | --name community | --group group | --enable-read-access | --enable-write-access | --enable-notify-access ]

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.

Usage Guidelines

The command creates the SNMP community along with the SNMP group. This command is valid for SNMP v2c version only.

EFA internally creates the v2 group and manages the community to group mapping. The group is created on the first community that is associated with the group.

Examples

efa inventory device snmp community create –-name tempv2community 
–-group tempv2group –-enable-read-access --enable-write-access 
--enable-notify-access –-ip 10.20.246.10