hwPstnPTPAdminOper
HUAWEI-VOICEPORT-MIB ·
.1.3.6.1.4.1.2011.6.113.1.2.1.5
Object
column r/w
Enumeration
Indicates the maintenance operation of the physical layer of the PSTN port. Options: 1.reset(1) -indicates the maintenance operation is reset 2.localLoop(2) -indicates the maintenance operation is local loop 3.remoteLoop(3) -indicates the maintenance operation is remote loop 4.cancelLoop(4) -indicates the maintenance operation is cancel loop 5.clearLineFault(5) -indicates the maintenance operation is clear line fault 6.invalidvalue(-1) -indicates an invalid value.
Context
- MIB
- HUAWEI-VOICEPORT-MIB
- OID
.1.3.6.1.4.1.2011.6.113.1.2.1.5- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwPstnPTPOperEntry
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-VOICEPORT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-VOICEPORT-MIB::hwPstnPTPAdminOper'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-VOICEPORT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-VOICEPORT-MIB::hwPstnPTPAdminOper.<hwPstnPTPOperIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-VOICEPORT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-VOICEPORT-MIB::hwPstnPTPAdminOper'
Syntax
Enumeration
Values & Constraints
Enumerated Values
-1 | invalidvalue |
1 | reset |
2 | localLoop |
3 | remoteLoop |
4 | cancelLoop |
5 | clearLineFault |