olsrv2LibLocAttNetSetMetricValue
OLSRv2-MIB ·
.1.3.6.1.2.1.219.1.2.4.1.5
Object
This object specifies the metric of the link to the attached network with address AL_net_addr from this router. The AL_net_addr is defined by the tuple (olsrv2LibLocAttNetSetIpAddrType, olsrv2LibLocAttNetSetIpAddr, olsrv2LibLocAttNetSetIpAddrPrefixLen).
Context
- MIB
- OLSRv2-MIB
- OID
.1.3.6.1.2.1.219.1.2.4.1.5- Type
- column
- Access
- readonly
- Status
- current
- Parent
- olsrv2LibLocAttNetSetEntry
- 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::olsrv2LibLocAttNetSetMetricValue'
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::olsrv2LibLocAttNetSetMetricValue.<olsrv2LibLocAttNetSetIpAddrType>.<olsrv2LibLocAttNetSetIpAddr>.<olsrv2LibLocAttNetSetIpAddrPrefixLen>'
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::olsrv2LibLocAttNetSetMetricValue'
Syntax
- Source
- Olsrv2MetricValueCompressedFormTC
- Base type
Unsigned32
Values & Constraints
Type Constraints
range: 0..16776960
Conformance
Member of