ipAddressPrefixOnLinkFlag

IP-MIB · .1.3.6.1.2.1.4.32.1.6

Object

This object has the value 'true(1)', if this prefix can be
used for on-link determination; otherwise, the value is
'false(2)'.
              
The default for IPv4 prefixes is 'true(1)'.

Context

MIB
IP-MIB
OID
.1.3.6.1.2.1.4.32.1.6
Type
column
Access
readonly
Status
current
Parent
ipAddressPrefixEntry
Groups
1

Walk 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 'IP-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'IP-MIB::ipAddressPrefixOnLinkFlag'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'IP-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'IP-MIB::ipAddressPrefixOnLinkFlag.<ipAddressPrefixIfIndex>.<ipAddressPrefixType>.<ipAddressPrefixPrefix>.<ipAddressPrefixLength>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'IP-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'IP-MIB::ipAddressPrefixOnLinkFlag'

Syntax

Source
SNMPv2-TCTruthValue
Base type
Enumeration
Type Description
Represents a boolean value.

Values & Constraints

Type Values
1true
2false

Conformance