hwIpdslamQryType
HUAWEI-ETHERLIKE-EXT-MIB ·
.1.3.6.1.4.1.2011.5.14.3.4.2
Object
scalar r/w
Enumeration
Indicates the query condition. Options: 1. mac(1) -indicates the query is by a MAC address. 2. ip(2) -indicates that the query is by an IP address. 3. invalid(-1) -indicates invalid. Currently, only MAC address query is supported.
Context
- MIB
- HUAWEI-ETHERLIKE-EXT-MIB
- OID
.1.3.6.1.4.1.2011.5.14.3.4.2- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- hwIpdslamQryLocation
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 'HUAWEI-ETHERLIKE-EXT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-ETHERLIKE-EXT-MIB::hwIpdslamQryType.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-ETHERLIKE-EXT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-ETHERLIKE-EXT-MIB::hwIpdslamQryType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
-1 | invalid |
1 | mac |
2 | ip |