efa inventory device snmp community create
Creates an SNMP community and SNMP group.
Syntax
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.
- --viewview-name
- Optionally specify a SNMP view name. Default view efav3View used when not specified.
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 --ip 10.139.44.153 --name community1 --group group1 --enable-read-access --view view1