dhcpSubnetOptionPrimaryNameServer

ZHONE-COM-IP-DHCP-SERVER-MIB · .1.3.6.1.4.1.5504.4.1.11.12.1.7

Object

column r/w SNMPv2-SMIIpAddress
IP Address of the primary domain name server that
the client should use for DNS resolution.  Default
value is 0.0.0.0

Context

MIB
ZHONE-COM-IP-DHCP-SERVER-MIB
OID
.1.3.6.1.4.1.5504.4.1.11.12.1.7
Type
column
Access
readwrite
Status
current
Parent
dhcpServerSubnetOptionEntry

Walk 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 'ZHONE-COM-IP-DHCP-SERVER-MIB' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZHONE-COM-IP-DHCP-SERVER-MIB::dhcpSubnetOptionPrimaryNameServer'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZHONE-COM-IP-DHCP-SERVER-MIB' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZHONE-COM-IP-DHCP-SERVER-MIB::dhcpSubnetOptionPrimaryNameServer.<index>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZHONE-COM-IP-DHCP-SERVER-MIB' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZHONE-COM-IP-DHCP-SERVER-MIB::dhcpSubnetOptionPrimaryNameServer'

Syntax

Source
SNMPv2-SMIIpAddress
Base type
OctetString

Values & Constraints

Type Constraints
range: 4