hwDevAreaCode
HUAWEI-DEVICE-MIB ·
.1.3.6.1.4.1.2011.6.3.1.37
Object
scalar r/w
OctetString
The area code of the device. The length of area code is 12. The characters can be 0, 1, 2, 3, 4, 5, 6, 7, 8 and 9. The zero-length string indicates invalid area code.
Context
- MIB
- HUAWEI-DEVICE-MIB
- OID
.1.3.6.1.4.1.2011.6.3.1.37- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- hwSystemPara
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-DEVICE-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-DEVICE-MIB::hwDevAreaCode.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-DEVICE-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-DEVICE-MIB::hwDevAreaCode'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-0
range: 12-12