ethernet2InterfaceHostName
LENOVO-XCC-MIB ·
.1.3.6.1.4.1.19046.11.1.3.4.1.2.3
Object
scalar mandatory
OctetString
Contains the 64 byte null terminated DNS host name for this interface.
Context
- MIB
- LENOVO-XCC-MIB
- OID
.1.3.6.1.4.1.19046.11.1.3.4.1.2.3- Type
- scalar
- Access
- readonly
- Status
- mandatory
- Parent
- ethernet2Interface
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'LENOVO-XCC-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'LENOVO-XCC-MIB::ethernet2InterfaceHostName.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'LENOVO-XCC-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'LENOVO-XCC-MIB::ethernet2InterfaceHostName'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-64