ospfPmNbrDesignatedRtrState
DC-OSPF-MIB ·
mrv variant
·
.1.3.6.1.4.1.629.10.3.1.10.1.23
Object
column OspfDesignatedRtrState
The designated router state of this neighbor. This field indicates whether the router is the designated router or backup designated router or neither.
Context
- MIB
- DC-OSPF-MIB
- OID
.1.3.6.1.4.1.629.10.3.1.10.1.23- Type
- column
- Access
- readonly
- Status
- current
- Parent
- ospfPmNbrEntry
- 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 'DC-OSPF-MIB' -M '/opt/observium/mibs/mrv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DC-OSPF-MIB::ospfPmNbrDesignatedRtrState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DC-OSPF-MIB' -M '/opt/observium/mibs/mrv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DC-OSPF-MIB::ospfPmNbrDesignatedRtrState.<ospfPmNbrApplIndex>.<ospfPmNbrIpAddr>.<ospfPmNbrAddressLessIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DC-OSPF-MIB' -M '/opt/observium/mibs/mrv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DC-OSPF-MIB::ospfPmNbrDesignatedRtrState'
Syntax
- Source
- OspfDesignatedRtrState
- Base type
Enumeration
Values & Constraints
Type Values
0 | designatedOther |
1 | designatedRouter |
2 | backupDesignatedRouter |
Conformance
Member of