hwOntMgProtocolType
HUAWEI-VOIP-ONT-MIB ·
.1.3.6.1.4.1.2011.6.36.11.15.1.28
Object
column r/w
Enumeration
The mg protocol type. Options: 1.h248(1) -indicates the mg protocol is H248 2.mgcp(2) -indicates the mg protocol is MGCP Default: H248(1)
Context
- MIB
- HUAWEI-VOIP-ONT-MIB
- OID
.1.3.6.1.4.1.2011.6.36.11.15.1.28- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwOntMgVagEntry
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-VOIP-ONT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-VOIP-ONT-MIB::hwOntMgProtocolType'
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::hwOntMgProtocolType.<hwOntMgVagIfIndex>.<hwOntMgVagOntIndex>.<hwOntMgVagMgId>'
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::hwOntMgProtocolType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | h248 |
2 | mgcp |