zxAnGponRmIpPrimaryDns
ZTE-AN-GPON-REMOTE-ONU-MIB ·
.1.3.6.1.4.1.3902.1082.500.20.2.6.24.1.5
Object
The address of the primary DNS server, this attribute has default value 0 (not set). If this value is set, it overrides any values returned in DHCP. The address type (InetAddressType) that relates to this object is specified by the corresponding value of 'zxAnGponRmIpPrimaryDnsType'.
Context
- MIB
- ZTE-AN-GPON-REMOTE-ONU-MIB
- OID
.1.3.6.1.4.1.3902.1082.500.20.2.6.24.1.5- Type
- column
- Access
- readwrite
- Status
- current
- Default
0x00000000- Parent
- zxAnGponRmIpPrfEntry
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 'ZTE-AN-GPON-REMOTE-ONU-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZTE-AN-GPON-REMOTE-ONU-MIB::zxAnGponRmIpPrimaryDns'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZTE-AN-GPON-REMOTE-ONU-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZTE-AN-GPON-REMOTE-ONU-MIB::zxAnGponRmIpPrimaryDns.<zxAnGponRmIpPrfName>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZTE-AN-GPON-REMOTE-ONU-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZTE-AN-GPON-REMOTE-ONU-MIB::zxAnGponRmIpPrimaryDns'
Syntax
- Source
- INET-ADDRESS-MIBInetAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 0..255