olsrv2TibAttNetworksSetDist
OLSRv2-MIB ·
.1.3.6.1.2.1.219.1.2.10.1.7
Object
column hopsUnsigned32
The number of hops to the network
with address AN_net_addr from the router with
originator address AN_orig_addr.
The AN_orig_addr is defined by the tuple
(olsrv2TibAttNetworksSetOrigIpAddrType,
olsrv2TibAttNetworksSetOrigIpAddr).
Context
- MIB
- OLSRv2-MIB
- OID
.1.3.6.1.2.1.219.1.2.10.1.7- Type
- column
- Access
- readonly
- Status
- current
- Units
- hops
- Parent
- olsrv2TibAttNetworksSetEntry
- Groups
- 1
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 'OLSRv2-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OLSRv2-MIB::olsrv2TibAttNetworksSetDist'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'OLSRv2-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OLSRv2-MIB::olsrv2TibAttNetworksSetDist.<olsrv2TibAttNetworksSetOrigIpAddrType>.<olsrv2TibAttNetworksSetOrigIpAddr>.<olsrv2TibAttNetworksSetNetIpAddrType>.<olsrv2TibAttNetworksSetNetIpAddr>.<olsrv2TibAttNetworksSetNetIpAddrPrefixLen>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'OLSRv2-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'OLSRv2-MIB::olsrv2TibAttNetworksSetDist'
Syntax
hopsUnsigned32
Values & Constraints
Object Constraints
range: 0-255
Conformance
Member of