efa inventory device snmp host create
Creates an SNMP v2c or v3 host.
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.
- --host-ip { IPv4 | IPv6 | FQDN }
- Specifies a host IP address.
- --community community
- Specifies a community name. Applicable for v2c only.
- --user user
- Specifies an SNMP v3 user.
- --version { v2c | v3 }
- Specifies the SNMP version.
- --notify-type { traps | informs }
- Specifies the notification type. Informs are valid for v3 only.
- --engine-id remote_id
- Specifies the remote engine
ID of manager.
Hex string format with a colon as a separator. The string size must be between 10-65. Example: 02:03:04:05:06.
- --udpport
- Optional port number used to send notifications. Range: 0-65535, Default value is 162.
Usage Guidelines
The command creates an SNMP v2c or v3 host.
Engine-id and informs are applicable only for SNMP v3 hosts.
Examples
efa inventory device snmp host create --ip 10.139.44.153 --host-ip 1.1.1.1 --user user1 --version v3 --notify-type traps --udp-port 163
efa inventory device snmp host list --ip 10.139.44.153