viewIndex
SNMPv2-PARTY-MIB ·
.1.3.6.1.6.3.3.2.4.1.1.1
Object
column Integer32
A unique value for each MIB view. The value for each MIB view must remain constant at least from one re-initialization of the entity's network management system to the next re-initialization.
Context
- MIB
- SNMPv2-PARTY-MIB
- OID
.1.3.6.1.6.3.3.2.4.1.1.1- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- viewEntry
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 'SNMPv2-PARTY-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SNMPv2-PARTY-MIB::viewIndex'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SNMPv2-PARTY-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SNMPv2-PARTY-MIB::viewIndex.<viewIndex>.<viewSubtree>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SNMPv2-PARTY-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SNMPv2-PARTY-MIB::viewIndex'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 1-65535