hwPoePowerInfoDeviceIndex
HUAWEI-POE-MIB ·
.1.3.6.1.4.1.2011.5.25.195.5.1.1
Object
column SNMPv2-SMIInteger32
This object indicates the device index. Index: reserved/chassis/slot. The index is format by 4 bytes(8bits for 1 byte): reserved is 1 byte(0x00), chassis is 12bits and slot is also 12bits. e.g. chassis=1, slot=0, the index is 0x00001000. If device is chassis, the slot is always 0. If device is box, the chassis is always 0.
Context
- MIB
- HUAWEI-POE-MIB
- OID
.1.3.6.1.4.1.2011.5.25.195.5.1.1- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- hwPoePowerInfoEntry
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-POE-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-POE-MIB::hwPoePowerInfoDeviceIndex'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-POE-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-POE-MIB::hwPoePowerInfoDeviceIndex.<hwPoePowerInfoDeviceIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-POE-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-POE-MIB::hwPoePowerInfoDeviceIndex'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647