osWanLocalIpv4Address
OS-TUNNEL-MIB ·
.1.3.6.1.4.1.629.1.50.23.1.1.2.1.2
Object
column INET-ADDRESS-MIBInetAddress
The local IPv4 address of the WAN interface, assigned either by DHCP or manually.
Context
- MIB
- OS-TUNNEL-MIB
- OID
.1.3.6.1.4.1.629.1.50.23.1.1.2.1.2- Type
- column
- Access
- readonly
- Status
- current
- Parent
- osWanEntry
- 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 'OS-TUNNEL-MIB' -M '/opt/observium/mibs/mrv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OS-TUNNEL-MIB::osWanLocalIpv4Address'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'OS-TUNNEL-MIB' -M '/opt/observium/mibs/mrv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OS-TUNNEL-MIB::osWanLocalIpv4Address.<osWanModule>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'OS-TUNNEL-MIB' -M '/opt/observium/mibs/mrv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'OS-TUNNEL-MIB::osWanLocalIpv4Address'
Syntax
- Source
- INET-ADDRESS-MIBInetAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 0..255
Conformance
Member of