trapDestinationHostType
SNIA-SML-MIB ·
.1.3.6.1.4.1.14851.3.1.16.7.1.2
Object
column mandatory
r/w
Enumeration
The type of addressing model to represent the network address (IPv4/IPv6)
Context
- MIB
- SNIA-SML-MIB
- OID
.1.3.6.1.4.1.14851.3.1.16.7.1.2- Type
- column
- Access
- readwrite
- Status
- mandatory
- Parent
- trapDestinationEntry
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 'SNIA-SML-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SNIA-SML-MIB::trapDestinationHostType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SNIA-SML-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SNIA-SML-MIB::trapDestinationHostType.<numberOfTrapDestinations>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SNIA-SML-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SNIA-SML-MIB::trapDestinationHostType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | iPv4 |
2 | iPv6 |