agentDNSConfigClearDNSCounters
SWITCHING-MIB ·
.1.3.6.1.4.1.7244.2.1.2.18.12
Object
scalar r/w
Enumeration
Enables/Disable Clear Request and Response of all DNS .
Context
- MIB
- SWITCHING-MIB
- OID
.1.3.6.1.4.1.7244.2.1.2.18.12- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- agentDNSConfigGroup
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 'SWITCHING-MIB' -M '/opt/observium/mibs/quanta:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SWITCHING-MIB::agentDNSConfigClearDNSCounters.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SWITCHING-MIB' -M '/opt/observium/mibs/quanta:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SWITCHING-MIB::agentDNSConfigClearDNSCounters'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | enable |
2 | disable |