zxGponIPHostConfigDataPrimaryDNS
ZXGPON-ONTMGMT-MIB ·
.1.3.6.1.4.1.3902.1012.3.50.16.1.1.8
Object
Address used for the Primary DNS server for the IP service, and has a default value of 0x0 [not set]. If this value is set, it will override any values returned in DHCP. (R, W) (mandatory) (4 bytes)
Context
- MIB
- ZXGPON-ONTMGMT-MIB
- OID
.1.3.6.1.4.1.3902.1012.3.50.16.1.1.8- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- zxGponIPHostConfigDataEntry
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 'ZXGPON-ONTMGMT-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZXGPON-ONTMGMT-MIB::zxGponIPHostConfigDataPrimaryDNS'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZXGPON-ONTMGMT-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZXGPON-ONTMGMT-MIB::zxGponIPHostConfigDataPrimaryDNS.<zxGponOltIndex>.<zxGponONTIndex>.<zxGponIPHostConfigDataId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZXGPON-ONTMGMT-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZXGPON-ONTMGMT-MIB::zxGponIPHostConfigDataPrimaryDNS'
Syntax
- Source
- RFC1155-SMIIpAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 4