hwPstnPTPCurrent
HUAWEI-VOICEPORT-MIB ·
.1.3.6.1.4.1.2011.6.113.1.1.1.9
Object
column r/w
Integer32
Port current supported by the board. The value ranges from 1 to 7, which indicates the port current value(the maximum number of the ports with the current of 35mA ,40mA and 45mA is 5) . 1: 16mA 2: 20mA 3: 25mA 4: 30mA 5: 35mA 6: 40mA 7: 45mA
Context
- MIB
- HUAWEI-VOICEPORT-MIB
- OID
.1.3.6.1.4.1.2011.6.113.1.1.1.9- Type
- column
- Access
- readwrite
- Status
- current
- Default
3- Parent
- hwPstnPTPConfigEntry
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::hwPstnPTPCurrent'
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::hwPstnPTPCurrent.<hwPstnPTPIndex>'
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::hwPstnPTPCurrent'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 1-7