tunnelIfLocalInetAddress
TUNNEL-MIB ·
.1.3.6.1.2.1.10.131.1.1.1.1.9
Object
The address of the local endpoint of the tunnel
(i.e., the source address used in the outer IP
header). If the address is unknown, the value is
0.0.0.0 for IPv4 or :: for IPv6. The type of this
object is given by tunnelIfAddressType.
Context
- MIB
- TUNNEL-MIB
- OID
.1.3.6.1.2.1.10.131.1.1.1.1.9- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- tunnelIfEntry
- 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 'TUNNEL-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'TUNNEL-MIB::tunnelIfLocalInetAddress'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'TUNNEL-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'TUNNEL-MIB::tunnelIfLocalInetAddress.<ifIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'TUNNEL-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'TUNNEL-MIB::tunnelIfLocalInetAddress'
Syntax
- Source
- INET-ADDRESS-MIBInetAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 0..255
Conformance
Member of
Compliance refinements
tunnelMIBInetReadOnlyCompliance
readonly
Write access is not required.