hm2DnsClientAdminState
HM2-DNS-MIB ·
.1.3.6.1.4.1.248.11.90.1.1.1
Object
The operational status of DNS client. If disabled, no host name lookups will be done for names entered on the CLI and in the configuration of services e.g. NTP.
Context
- MIB
- HM2-DNS-MIB
- OID
.1.3.6.1.4.1.248.11.90.1.1.1- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- hm2DnsClientGroup
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::hm2DnsClientAdminState.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::hm2DnsClientAdminState'
Syntax
- Source
- HM2-TC-MIBHmEnabledStatus
- Base type
Enumeration
Values & Constraints
Type Values
1 | enable |
2 | disable |