ospfRouterId

RFC15850-MIB · .0.14.1.1

Object

scalar mandatory RFC1155-SMIIpAddress
A 32-bit integer uniquely identifying the router in
the Autonomous System.
By convention, to ensure uniqueness, this should
default to the value of one of the router's IP
interface addresses.

Context

MIB
RFC15850-MIB
OID
.0.14.1.1
Type
scalar
Access
readonly
Status
mandatory
Parent
ospfGeneralGroup

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'RFC15850-MIB' -M '/opt/observium/mibs/bintec:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RFC15850-MIB::ospfRouterId.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'RFC15850-MIB' -M '/opt/observium/mibs/bintec:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'RFC15850-MIB::ospfRouterId'

Syntax

Source
RFC1155-SMIIpAddress
Base type
OctetString

Values & Constraints

Type Constraints
range: 4