nhdpIfName
NHDP-MIB ·
.1.3.6.1.2.1.213.1.1.1.1.2
Object
The textual name of the interface. The value of this
object SHOULD be the name of the interface as assigned by
the local device. This can be a text-name, such as 'le0'
or a simple port number, such as '1',
depending on the interface-naming syntax of the device.
If there is no local name or this object is otherwise not
applicable, then this object contains a zero-length string.
Context
- MIB
- NHDP-MIB
- OID
.1.3.6.1.2.1.213.1.1.1.1.2- Type
- column
- Access
- readonly
- Status
- current
- Parent
- nhdpInterfaceEntry
- Groups
- 1
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 'NHDP-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NHDP-MIB::nhdpIfName'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'NHDP-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NHDP-MIB::nhdpIfName.<nhdpIfIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'NHDP-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'NHDP-MIB::nhdpIfName'
Syntax
- Source
- SNMP-FRAMEWORK-MIBSnmpAdminString
- Base type
OctetString
Values & Constraints
Type Constraints
range: 0..255
Conformance
Member of