hwSiteId

EMAP-MIB · .1.3.6.1.4.1.2011.6.164.1.1.1.1

Object

scalar OctetString
Site ID, default value: 000,000.Naming rule of the site device ID (six digits): 
The first three digits indicate the device name and the last three digits indicate the serial number (SN) of the device. 
If the last three digits are 000, it indicates a virtual device.

Context

MIB
EMAP-MIB
OID
.1.3.6.1.4.1.2011.6.164.1.1.1.1
Type
scalar
Access
readonly
Status
current
Parent
hwSiteSummary

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'EMAP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'EMAP-MIB::hwSiteId.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'EMAP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'EMAP-MIB::hwSiteId'

Syntax

OctetString

Values & Constraints

Object Constraints
range: 0-64