hostName
PERLE-MCR-MGT-MIB ·
.1.3.6.1.4.1.1966.21.1.1.1.2.1.3.1.3
Object
column r/w
OctetString
The host name used for this host entry. To delete an entry, blank out this field. If blank, this entry is currently unused.
Context
- MIB
- PERLE-MCR-MGT-MIB
- OID
.1.3.6.1.4.1.1966.21.1.1.1.2.1.3.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hostEntry
- 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 'PERLE-MCR-MGT-MIB' -M '/opt/observium/mibs/perle:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'PERLE-MCR-MGT-MIB::hostName'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'PERLE-MCR-MGT-MIB' -M '/opt/observium/mibs/perle:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'PERLE-MCR-MGT-MIB::hostName.<hostIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'PERLE-MCR-MGT-MIB' -M '/opt/observium/mibs/perle:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'PERLE-MCR-MGT-MIB::hostName'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-14
Conformance
Member of