hh3cSysImageIndex
HH3C-SYS-MAN-MIB ·
.1.3.6.1.4.1.25506.2.3.1.4.2.1.1
Object
column Integer32
There are two parts for the index depicted as follows:
31 15 0
+++++++++++++++++++++++++++++++++++
+ physical index + image index +
+++++++++++++++++++++++++++++++++++
From bit0 to bit15 (two bytes) is the image index;Image file Index
is a monotonically increasing integer for the sole purpose of indexing
events. When it reaches the maximum value, an extremely unlikely event,
the agent wraps the value back to 1 and may flush existing entries.
From bit16 to bit31 (two bytes) is the physical index the same as the
entPhysicalIndex specified in ENTITY-MIB.
If ENTITY-MIB is not supported,the value for this object is the unit ID for XRN
devices ,0 for non-XRN device which has only one main board,the board number for
non-XRN device which have several main boards.
Any index beyond the above range will not be supported.
If a file is added in, its hh3cSysImageIndex will be the maximum image index plus one.
If the image file is removed, renamed, or moved from one place to another,
its hh3cSysImageIndex is not reallocated.
If the image file's content is replaced, its hh3cSysImageIndex will not change.
Context
- MIB
- HH3C-SYS-MAN-MIB
- OID
.1.3.6.1.4.1.25506.2.3.1.4.2.1.1- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- hh3cSysImageEntry
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 'HH3C-SYS-MAN-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HH3C-SYS-MAN-MIB::hh3cSysImageIndex'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HH3C-SYS-MAN-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HH3C-SYS-MAN-MIB::hh3cSysImageIndex.<hh3cSysImageIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HH3C-SYS-MAN-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HH3C-SYS-MAN-MIB::hh3cSysImageIndex'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-2147483647