olsrv2LibLocAttNetSetIpAddrType
OLSRv2-MIB ·
.1.3.6.1.2.1.219.1.2.4.1.1
Object
column Enumeration
The type of the olsrv2LibLocAttNetSetIpAddr, as defined
in the InetAddress MIB (RFC 4001).
Only the values 'ipv4(1)' and
'ipv6(2)' are supported.
Context
- MIB
- OLSRv2-MIB
- OID
.1.3.6.1.2.1.219.1.2.4.1.1- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- olsrv2LibLocAttNetSetEntry
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::olsrv2LibLocAttNetSetIpAddrType'
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::olsrv2LibLocAttNetSetIpAddrType.<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::olsrv2LibLocAttNetSetIpAddrType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | ipv4 |
2 | ipv6 |