hwProtocolActive
HUAWEI-VOIP-COMMON-MIB ·
.1.3.6.1.4.1.2011.6.36.1.43.1
Object
scalar Integer32
The bit table indicates the protocol that is currently used. The bit table from low bit to high bit are H248, MGCP and SIP. For example, the bit table value for sip protocol is 0b00000000000000000000000000000100. H248(1) MGCP(2) SIP(4) H248+SIP(5)
Context
- MIB
- HUAWEI-VOIP-COMMON-MIB
- OID
.1.3.6.1.4.1.2011.6.36.1.43.1- Type
- scalar
- Access
- readonly
- Status
- current
- Parent
- hwProtocolSupportTable
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-VOIP-COMMON-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-VOIP-COMMON-MIB::hwProtocolActive.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-VOIP-COMMON-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-VOIP-COMMON-MIB::hwProtocolActive'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 1-5