hwOntPotsCodec

HUAWEI-VOIP-ONT-MIB · .1.3.6.1.4.1.2011.6.36.11.14.1.6

Object

column Integer32
Reports the current codec used for a VoIP POTS port.Code points are assigned as follows:
0: G.711A
1: G.729 
2: G.711U
3: G.723 
4: G.726 
5: T.38  
6: G.722
7: reserved
8: reserved
9: GSM
10: DVI4, 8 kHz    
11: DVI4, 16 kHz   
12: LPC            
13: L16, 2 channels
14: L16, 1 channel 
15: QCELP          
16: CN             
17: MPA            
18: G.728          
29: DVI4,11.025kHz      
20: DVI4,22.050kHz
The others means invaild.

Context

MIB
HUAWEI-VOIP-ONT-MIB
OID
.1.3.6.1.4.1.2011.6.36.11.14.1.6
Type
column
Access
readonly
Status
current
Parent
hwOntPotsStatusEntry

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::hwOntPotsCodec'
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::hwOntPotsCodec.<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::hwOntPotsCodec'

Syntax

Integer32

Values & Constraints

Object Constraints
range: 0-255