ospfRouterIdType
ZELAX-MIB ·
.1.3.6.1.4.1.7840.2.1.100.16.4.1.1
Object
scalar Enumeration
Set router ID automatically or manually.
Context
- MIB
- ZELAX-MIB
- OID
.1.3.6.1.4.1.7840.2.1.100.16.4.1.1- Type
- scalar
- Access
- readonly
- Status
- current
- Parent
- ospfSystemGroup
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZELAX-MIB' -M '/opt/observium/mibs/zelax:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZELAX-MIB::ospfRouterIdType.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZELAX-MIB' -M '/opt/observium/mibs/zelax:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZELAX-MIB::ospfRouterIdType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | auto |
2 | manual |