hwKeyTaskIndex
HUAWEI-TASK-MIB ·
.1.3.6.1.4.1.2011.5.25.27.1.2.1.1
Object
column SNMPv2-SMIInteger32
Specifies the slot ID of the task. Currently, the MIB provides information only about the main control board. The value of TaskIndex is 0 in centralized system mode; the value of TaskIndex is the slot ID of the main control board in distributed system mode.
Context
- MIB
- HUAWEI-TASK-MIB
- OID
.1.3.6.1.4.1.2011.5.25.27.1.2.1.1- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- hwKeyTaskEntry
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-TASK-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-TASK-MIB::hwKeyTaskIndex'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-TASK-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-TASK-MIB::hwKeyTaskIndex.<hwKeyTaskIndex>.<hwKeyTaskID>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-TASK-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-TASK-MIB::hwKeyTaskIndex'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647