nlHostAddress
RMON2-MIB ·
.1.3.6.1.2.1.16.14.2.1.2
Object
column OctetString
The network address for this nlHostEntry.
This is represented as an octet string with
specific semantics and length as identified
by the protocolDirLocalIndex component of the index.
For example, if the protocolDirLocalIndex indicates an
encapsulation of IP, this object is encoded as a length
octet of 4, followed by the 4 octets of the IP address,
in network byte order.
Context
- MIB
- RMON2-MIB
- OID
.1.3.6.1.2.1.16.14.2.1.2- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- nlHostEntry
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 'RMON2-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RMON2-MIB::nlHostAddress'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'RMON2-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RMON2-MIB::nlHostAddress.<hlHostControlIndex>.<nlHostTimeMark>.<protocolDirLocalIndex>.<nlHostAddress>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'RMON2-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'RMON2-MIB::nlHostAddress'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 1-255