adGenDhcpClientStatusPrimaryDNS
ADTRAN-GEN-DHCP-CLIENT-MIB ·
.1.3.6.1.4.1.664.5.80.1.1.1.1.1.13
Object
column INET-ADDRESS-MIBInetAddress
IP address of the Primary Domain Name Server assigned for this
client. If no Domain name servers are available or signaled by
the DHCP server, this object will contain the null IP address
which is composed of all zeros.
The IP address version (ipv4 or ipv6) can be determined by
retrieval of the adGenDhcpClientStatusPrimaryDNSType column.
Context
- MIB
- ADTRAN-GEN-DHCP-CLIENT-MIB
- OID
.1.3.6.1.4.1.664.5.80.1.1.1.1.1.13- Type
- column
- Access
- readonly
- Status
- current
- Parent
- adGenDhcpClientStatusEntry
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-GEN-DHCP-CLIENT-MIB' -M '/opt/observium/mibs/adtran:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ADTRAN-GEN-DHCP-CLIENT-MIB::adGenDhcpClientStatusPrimaryDNS'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ADTRAN-GEN-DHCP-CLIENT-MIB' -M '/opt/observium/mibs/adtran:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ADTRAN-GEN-DHCP-CLIENT-MIB::adGenDhcpClientStatusPrimaryDNS.<ifIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ADTRAN-GEN-DHCP-CLIENT-MIB' -M '/opt/observium/mibs/adtran:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ADTRAN-GEN-DHCP-CLIENT-MIB::adGenDhcpClientStatusPrimaryDNS'
Syntax
- Source
- INET-ADDRESS-MIBInetAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 0..255