efa inventory device snmp host
create
Creates an SNMP v2c or v3
host.
Syntax
efa inventory device snmp
host create
[--ip
device-ip | --host-ip
IPv4 | IPv6 |
FQDN |--community
community | --user
user
|
--version
v2c | v3 | --notify-type
traps | informs
| --engine-id remote_id
]
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.
- --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.
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 –-host-ip 20.20.20.2
--community tempv2community --version v2c –-notify-type traps
–-ip 10.20.246.10
efa inventory device snmp host create –host-ip 30.30.30.2
--user v3user --version v3 -–notify-type informs –engine-id 02:03:04:05:06
--ip 10.20.246.10