ospfRouterId

FS-SWITCH-V2-MIB · .1.3.6.1.4.1.52642.1.22.30.1

Object

scalar r/w SNMPv2-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
FS-SWITCH-V2-MIB
OID
.1.3.6.1.4.1.52642.1.22.30.1
Type
scalar
Access
readwrite
Status
current
Parent
ospfExtGeneralGroup

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

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

Syntax

Source
SNMPv2-SMIIpAddress
Base type
OctetString

Values & Constraints

Type Constraints
range: 4