dns2
CPI-UNIFIED-MIB ·
.1.3.6.1.4.1.30932.1.1.2.8.2
Object
PDU DNS 2 IP.
Context
- MIB
- CPI-UNIFIED-MIB
- OID
.1.3.6.1.4.1.30932.1.1.2.8.2- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- dnsHosts
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CPI-UNIFIED-MIB' -M '/opt/observium/mibs/chatsworth:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CPI-UNIFIED-MIB::dns2.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CPI-UNIFIED-MIB' -M '/opt/observium/mibs/chatsworth:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CPI-UNIFIED-MIB::dns2'
Syntax
- Source
- SNMPv2-SMIIpAddress
- Base type
OctetString
Values & Constraints
Object Constraints
range: 0-9
Type Constraints
range: 4