hwBraPTPPowerState
HUAWEI-VOICEPORT-MIB ·
.1.3.6.1.4.1.2011.6.113.1.3.1.6
Object
column Enumeration
Indicates the power status of the NT1. 1-Active power supply (PS1); 2-Standby power supply (PS2). Options: 1.state1(1) -indicates PS1 is normal; PS2 is normal 2.state2(2) -indicates PS1 is normal; PS2 is abnormal 3.state3(3) -indicates PS1 is abnormal; PS2 is normal 4.state4(4) -indicates PS1 is abnormal; PS2 is abnormal 5.invalidvalue(-1) -indicates an invalid value.
Context
- MIB
- HUAWEI-VOICEPORT-MIB
- OID
.1.3.6.1.4.1.2011.6.113.1.3.1.6- Type
- column
- Access
- readonly
- Status
- current
- Parent
- hwBraPTPConfigEntry
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::hwBraPTPPowerState'
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::hwBraPTPPowerState.<hwBraPTPIndex>'
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::hwBraPTPPowerState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
-1 | invalidvalue |
1 | state1 |
2 | state2 |
3 | state3 |
4 | state4 |