hwPortCodec

HUAWEI-VOIP-ONT-MIB · .1.3.6.1.4.1.2011.6.36.11.1.1.6

Object

column Enumeration
Ont Pstn Port Codec
Options:
1.g711a(1)  -indicates the codec mode is G.711A 
2.g729(2)   -indicates the codec mode is g729
3.g711u(3)  -indicates the codec mode is G.711U 
4.g723(4)   -indicates the codec mode is g723
5.g726(5)   -indicates the codec mode is G.726 
6.t38(6)    -indicates the codec mode is T.38      
7.other(-1) -indicates the codec mode is other

Context

MIB
HUAWEI-VOIP-ONT-MIB
OID
.1.3.6.1.4.1.2011.6.36.11.1.1.6
Type
column
Access
readonly
Status
current
Parent
hwPstnStatusEntry

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-VOIP-ONT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-VOIP-ONT-MIB::hwPortCodec'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-VOIP-ONT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-VOIP-ONT-MIB::hwPortCodec.<hwVoiceIfIndex>.<hwVoiceOntIndex>.<hwVoiceOntPortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-VOIP-ONT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-VOIP-ONT-MIB::hwPortCodec'

Syntax

Enumeration

Values & Constraints

Enumerated Values
-1other
1g711a
2g729
3g711u
4g723
5g726
6t38