adGenPppGroupDhcpHostname
ADTRAN-GENERIC-PPP-MIB ·
.1.3.6.1.4.1.664.5.67.1.31.1.2.1.1.1.23
Object
column r/w
OctetString
Specifies the text string used as the name in the DHCP option 12 field. The can consist of up to 35 characters. To reset the hostname to it's system generated (non-empty) default, write a zero-length (empty) string to this location.
Context
- MIB
- ADTRAN-GENERIC-PPP-MIB
- OID
.1.3.6.1.4.1.664.5.67.1.31.1.2.1.1.1.23- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- adGenPppGroupProvEntry
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 'ADTRAN-GENERIC-PPP-MIB' -M '/opt/observium/mibs/adtran:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ADTRAN-GENERIC-PPP-MIB::adGenPppGroupDhcpHostname'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ADTRAN-GENERIC-PPP-MIB' -M '/opt/observium/mibs/adtran:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ADTRAN-GENERIC-PPP-MIB::adGenPppGroupDhcpHostname.<ifIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ADTRAN-GENERIC-PPP-MIB' -M '/opt/observium/mibs/adtran:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ADTRAN-GENERIC-PPP-MIB::adGenPppGroupDhcpHostname'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 1-35