ipAddressPrefixOnLinkFlag
IP-MIB ·
.1.3.6.1.2.1.4.32.1.6
Object
column SNMPv2-TCTruthValue
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
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 '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
1 | true |
2 | false |
Conformance
Member of