hh3cSysPackageIndex
HH3C-SYS-MAN-MIB ·
.1.3.6.1.4.1.25506.2.3.1.7.2.1.1
Object
column Integer32
There are two parts for the index depicted as follows:
31 15 0
+++++++++++++++++++++++++++++++++++
+ physical index + package index +
+++++++++++++++++++++++++++++++++++
From bit0 to bit15 (two bytes) is the Package index; Package 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.
Any index beyond the above range will not be supported.
If a file is added in, its hh3cSysPackageIndex will be the maximum
image index plus one.
If the package file is removed, renamed, or moved from one place to
another, its hh3cSysPackageIndex is not reallocated.
If the package file's content is replaced, its hh3cSysPackageIndex will
not change.
Context
- MIB
- HH3C-SYS-MAN-MIB
- OID
.1.3.6.1.4.1.25506.2.3.1.7.2.1.1- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- hh3cSysPackageEntry
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::hh3cSysPackageIndex'
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::hh3cSysPackageIndex.<hh3cSysPackageIndex>'
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::hh3cSysPackageIndex'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 1-2147483647