hm2DnsCacheAdminState
HM2-DNS-MIB ·
.1.3.6.1.4.1.248.11.90.1.2.1
Object
Enables/Disables DNS cache functionality of the device. **NOTE: this object is deprecated and replaced by hm2DnsClientCacheAdminState/hm2DnsCachingServerAdminState**.
Context
- MIB
- HM2-DNS-MIB
- OID
.1.3.6.1.4.1.248.11.90.1.2.1- Type
- scalar
- Access
- readwrite
- Status
- deprecated
- Parent
- hm2DnsCacheGroup
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 'HM2-DNS-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HM2-DNS-MIB::hm2DnsCacheAdminState.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HM2-DNS-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HM2-DNS-MIB::hm2DnsCacheAdminState'
Syntax
- Source
- HM2-TC-MIBHmEnabledStatus
- Base type
Enumeration
Values & Constraints
Type Values
1 | enable |
2 | disable |