hh3cContextIndex
HH3C-CONTEXT-MIB ·
.1.3.6.1.4.1.25506.2.154.1.1.1.1.1
Object
column Integer32
The value range of Context ID depends on the device model.
Context
- MIB
- HH3C-CONTEXT-MIB
- OID
.1.3.6.1.4.1.25506.2.154.1.1.1.1.1- Type
- column
- Access
- notifyonly
- Status
- current
- Parent
- hh3cContextControlEntry
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-CONTEXT-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HH3C-CONTEXT-MIB::hh3cContextIndex'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HH3C-CONTEXT-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HH3C-CONTEXT-MIB::hh3cContextIndex.<hh3cContextIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HH3C-CONTEXT-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HH3C-CONTEXT-MIB::hh3cContextIndex'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 1-2147483647