hh3cSysCFGFileIndex
HH3C-SYS-MAN-MIB ·
.1.3.6.1.4.1.25506.2.3.1.5.2.1.1
Object
column Integer32
There are two parts for the index depicted as follows:
31 15 0
+++++++++++++++++++++++++++++++++++
+ physical index + cfgFile index +
+++++++++++++++++++++++++++++++++++
From bit0 to bit15 (two bytes) is the configuration file index; the
configuration 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 slot,the board number for
non-XRN device which have several slots.
Any index beyond the above range will not be supported.
Context
- MIB
- HH3C-SYS-MAN-MIB
- OID
.1.3.6.1.4.1.25506.2.3.1.5.2.1.1- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- hh3cSysCFGFileEntry
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::hh3cSysCFGFileIndex'
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::hh3cSysCFGFileIndex.<hh3cSysCFGFileIndex>'
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::hh3cSysCFGFileIndex'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-2147483647