hwIpSpcAttributeVoiceCode
HUAWEI-SPC-MIB ·
.1.3.6.1.4.1.2011.6.15.1.1.1.49
Object
column r/w
Enumeration
Voice codec type of the SPC. Options: 1. acG711Malaw(1) -G.711A 2. acG711Mulaw(2) -G.711U 3. acG723Low(3) -G.723low 4. acG723High(4) -G.723high 5. acG729(5) -G.729 6. clearMode(6) -clear mode 7. g72616k(7) -G.726_16K 8. g72624k(8) -G.726_24K 9. g72632k(9) -G.726_32K 10. g72640k(10) -G.726_40K 11. g722(11) -G.722 12. invalid(-1) -invalid value
Context
- MIB
- HUAWEI-SPC-MIB
- OID
.1.3.6.1.4.1.2011.6.15.1.1.1.49- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwSpcMngtEntry
Net-SNMP examples
How SNMP and these commands workWalk 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-SPC-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-SPC-MIB::hwIpSpcAttributeVoiceCode'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-SPC-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-SPC-MIB::hwIpSpcAttributeVoiceCode.<hwSpcNo>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-SPC-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-SPC-MIB::hwIpSpcAttributeVoiceCode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
-1 | invalid |
1 | acG711Malaw |
2 | acG711Mulaw |
3 | acG723Low |
4 | acG723High |
5 | acG729 |
6 | clearMode |
7 | g72616k |
8 | g72624k |
9 | g72632k |
10 | g72640k |
11 | g722 |