hwPstnCTPSrvState
HUAWEI-VOICEUSER-MIB ·
.1.3.6.1.4.1.2011.6.112.1.2.1.2
Object
column Enumeration
Indicates the running status of the service layer of the PSTN port. Options: 1. fault(1)-the port is fault 2. idle(2) -the user is idle 3. offHook(3) -the user off-hook 4. lock(4) -the user is locked 5. ring(5) -the user is ringing
Context
- MIB
- HUAWEI-VOICEUSER-MIB
- OID
.1.3.6.1.4.1.2011.6.112.1.2.1.2- Type
- column
- Access
- readonly
- Status
- current
- Parent
- hwPstnCTPOperEntry
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-VOICEUSER-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-VOICEUSER-MIB::hwPstnCTPSrvState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-VOICEUSER-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-VOICEUSER-MIB::hwPstnCTPSrvState.<hwPstnCTPOperIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-VOICEUSER-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-VOICEUSER-MIB::hwPstnCTPSrvState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | fault |
2 | idle |
3 | offHook |
4 | lock |
5 | ring |