Connected: An Internet Encyclopedia
RFC 1850 - 3.10. OSPF Neighbor Table

Top: Connected: An Internet Encyclopedia
Up: Requests For Comments
Up: RFC 1850
Up: 3. Definitions
Prev: 3.9. OSPF Virtual Interface Table
Next: 3.11. OSPF Virtual Neighbor Table

### 3.10. OSPF Neighbor Table

    --  OSPF Neighbor Table

    --      The OSPF Neighbor Table describes all neighbors in
    --      the locality of the subject router.

        ospfNbrTable OBJECT-TYPE
            SYNTAX   SEQUENCE OF OspfNbrEntry
            MAX-ACCESS   not-accessible
            STATUS   current
            DESCRIPTION
               "A table of non-virtual neighbor information."
           REFERENCE
              "OSPF Version 2, Section 10  The  Neighbor  Data
              Structure"
          ::= { ospf 10 }

        ospfNbrEntry OBJECT-TYPE
            SYNTAX   OspfNbrEntry
            MAX-ACCESS   not-accessible
            STATUS   current
            DESCRIPTION
               "The information regarding a single neighbor."
           REFERENCE
              "OSPF Version 2, Section 10  The  Neighbor  Data
              Structure"
          INDEX { ospfNbrIpAddr, ospfNbrAddressLessIndex }
          ::= { ospfNbrTable 1 }

    OspfNbrEntry ::=
        SEQUENCE {
            ospfNbrIpAddr
                IpAddress,
            ospfNbrAddressLessIndex
                InterfaceIndex,
            ospfNbrRtrId
                RouterID,
            ospfNbrOptions
                Integer32,
            ospfNbrPriority
                DesignatedRouterPriority,
            ospfNbrState
                INTEGER,
            ospfNbrEvents
                Counter32,
            ospfNbrLsRetransQLen
                Gauge32,
            ospfNbmaNbrStatus
                RowStatus,
            ospfNbmaNbrPermanence
                INTEGER,
            ospfNbrHelloSuppressed
                TruthValue
                  }

        ospfNbrIpAddr OBJECT-TYPE
            SYNTAX   IpAddress
            MAX-ACCESS   read-only
            STATUS   current
            DESCRIPTION
               "The IP address this neighbor is using  in  its
               IP  Source  Address.  Note that, on addressless
               links, this will not be 0.0.0.0,  but  the  ad-
               dress of another of the neighbor's interfaces."
           ::= { ospfNbrEntry 1 }

        ospfNbrAddressLessIndex OBJECT-TYPE
            SYNTAX   InterfaceIndex
            MAX-ACCESS   read-only
            STATUS   current
            DESCRIPTION
               "On an interface having an  IP  Address,  zero.
               On  addressless  interfaces,  the corresponding
               value of ifIndex in the Internet Standard  MIB.
               On  row  creation, this can be derived from the
               instance."
           ::= { ospfNbrEntry 2 }

        ospfNbrRtrId OBJECT-TYPE
            SYNTAX   RouterID
            MAX-ACCESS   read-only
            STATUS   current
            DESCRIPTION
               "A 32-bit integer (represented as a type  IpAd-
               dress)  uniquely  identifying  the  neighboring
               router in the Autonomous System."
           DEFVAL   { '00000000'H }    -- 0.0.0.0
           ::= { ospfNbrEntry 3 }

        ospfNbrOptions OBJECT-TYPE
            SYNTAX   Integer32
            MAX-ACCESS   read-only
            STATUS   current
            DESCRIPTION
               "A Bit Mask corresponding to the neighbor's op-
               tions field.

               Bit 0, if set, indicates that the  system  will
               operate  on  Type of Service metrics other than
               TOS 0.  If zero, the neighbor will  ignore  all
               metrics except the TOS 0 metric.

               Bit 1, if set, indicates  that  the  associated
               area  accepts and operates on external informa-
               tion; if zero, it is a stub area.

               Bit 2, if set, indicates that the system is ca-
               pable  of routing IP Multicast datagrams; i.e.,
               that it implements the Multicast Extensions  to
               OSPF.

               Bit 3, if set, indicates  that  the  associated
               area  is  an  NSSA.  These areas are capable of
               carrying type 7 external advertisements,  which
               are  translated into type 5 external advertise-
               ments at NSSA borders."
           REFERENCE
              "OSPF Version 2, Section 12.1.2 Options"
          DEFVAL { 0 }
          ::= { ospfNbrEntry 4 }

        ospfNbrPriority OBJECT-TYPE
            SYNTAX   DesignatedRouterPriority
            MAX-ACCESS   read-create
            STATUS   current
            DESCRIPTION
               "The priority of this neighbor in the designat-
               ed router election algorithm.  The value 0 sig-
               nifies that the neighbor is not eligible to be-
               come  the  designated router on this particular
               network."
           DEFVAL { 1 }
           ::= { ospfNbrEntry 5 }

        ospfNbrState OBJECT-TYPE
            SYNTAX   INTEGER    {
                        down (1),
                        attempt (2),
                        init (3),
                        twoWay (4),
                        exchangeStart (5),
                        exchange (6),
                        loading (7),
                        full (8)
                      }
            MAX-ACCESS   read-only
            STATUS   current
            DESCRIPTION
               "The State of the relationship with this Neigh-
               bor."
           REFERENCE
              "OSPF Version 2, Section 10.1 Neighbor States"
          DEFVAL   { down }
          ::= { ospfNbrEntry 6 }

        ospfNbrEvents OBJECT-TYPE
            SYNTAX   Counter32
            MAX-ACCESS   read-only
            STATUS   current
            DESCRIPTION
               "The number of times this neighbor relationship
               has changed state, or an error has occurred."
           ::= { ospfNbrEntry 7 }

        ospfNbrLsRetransQLen OBJECT-TYPE
            SYNTAX   Gauge32
            MAX-ACCESS   read-only
            STATUS   current
            DESCRIPTION
               "The  current  length  of  the   retransmission
               queue."
           ::= { ospfNbrEntry 8 }

        ospfNbmaNbrStatus OBJECT-TYPE
            SYNTAX   RowStatus
            MAX-ACCESS   read-create
            STATUS   current
            DESCRIPTION
               "This variable displays the status of  the  en-
               try.  Setting it to 'invalid' has the effect of
               rendering it inoperative.  The internal  effect
               (row removal) is implementation dependent."
           ::= { ospfNbrEntry 9 }

        ospfNbmaNbrPermanence OBJECT-TYPE
            SYNTAX   INTEGER    {
                        dynamic (1),        -- learned through protocol
                        permanent (2)       -- configured address
                      }
            MAX-ACCESS   read-only
            STATUS   current
            DESCRIPTION
               "This variable displays the status of  the  en-
               try.   'dynamic'  and  'permanent' refer to how
               the neighbor became known."
           DEFVAL { permanent }
           ::= { ospfNbrEntry 10 }

        ospfNbrHelloSuppressed OBJECT-TYPE
            SYNTAX   TruthValue
            MAX-ACCESS   read-only
            STATUS   current
            DESCRIPTION
               "Indicates whether Hellos are being  suppressed
               to the neighbor"
           ::= { ospfNbrEntry 11 }

Next: 3.11. OSPF Virtual Neighbor Table

Connected: An Internet Encyclopedia
RFC 1850 - 3.10. OSPF Neighbor Table