hwEmPcmMode

HUAWEI-PORT-MIB · .1.3.6.1.4.1.2011.5.25.157.1.23.1.1.2

Object

column r/w Enumeration
This object indicates the PCM mode of an E&M interface. 
The value can be A-Law or U-Law. The default value is A-Law.

Context

MIB
HUAWEI-PORT-MIB
OID
.1.3.6.1.4.1.2011.5.25.157.1.23.1.1.2
Type
column
Access
readwrite
Status
current
Parent
hwEmEntry

Walk the column to discover its indexed instances, or supply every index to read one instance.

Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'HUAWEI-PORT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-PORT-MIB::hwEmPcmMode'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-PORT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-PORT-MIB::hwEmPcmMode.<hwEmIfIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-PORT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-PORT-MIB::hwEmPcmMode'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1aLaw
2uLaw