hwDevSnmpProbeHostIpAddressType
HUAWEI-DEVICE-MIB ·
.1.3.6.1.4.1.2011.6.3.103.2.1.2
Object
The object specifies the IP address type of SNMP probe monitor: Options: ipv4(1) -indicates an IPv4 address ipv6(2) -indicates an IPv6 address
Context
- MIB
- HUAWEI-DEVICE-MIB
- OID
.1.3.6.1.4.1.2011.6.3.103.2.1.2- Type
- column
- Access
- readonly
- Status
- current
- Parent
- hwDevSnmpProbeHostEntry
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'HUAWEI-DEVICE-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-DEVICE-MIB::hwDevSnmpProbeHostIpAddressType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-DEVICE-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-DEVICE-MIB::hwDevSnmpProbeHostIpAddressType.<hwDevSnmpProbeHostIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-DEVICE-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-DEVICE-MIB::hwDevSnmpProbeHostIpAddressType'
Syntax
- Source
- INET-ADDRESS-MIBInetAddressType
- Base type
Enumeration
Values & Constraints
Type Values
0 | unknown |
1 | ipv4 |
2 | ipv6 |
3 | ipv4z |
4 | ipv6z |
16 | dns |
25 | l2vpn |