assocIndex
NETWORK-SERVICES-MIB ·
.1.3.6.1.2.1.27.2.1.1
Object
column Integer32
An index to uniquely identify each association for a network service application. This attribute is the index that is used for lexicographic ordering of the table. Note that the table is also indexed by the applIndex.
Context
- MIB
- NETWORK-SERVICES-MIB
- OID
.1.3.6.1.2.1.27.2.1.1- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- assocEntry
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 'NETWORK-SERVICES-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NETWORK-SERVICES-MIB::assocIndex'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'NETWORK-SERVICES-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NETWORK-SERVICES-MIB::assocIndex.<applIndex>.<assocIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'NETWORK-SERVICES-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'NETWORK-SERVICES-MIB::assocIndex'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 1-2147483647