Print

V7平台OSPF状态的OID返回值含义

2019-09-10 发表

问题描述

通过oid读取ospf邻居状态   

解决方法

Name:                                     ospfNbrState

Type:                                      OBJECT-TYPE

OID:                                         1.3.6.1.2.1.14.10.1.6

Full path:                                        iso(1).org(3).dod(6).internet(1).mgmt(2).mib-2(1).ospf(14).ospfNbrTable(10).ospfNbrEntry(1).ospfNbrState(6)

Module:                                  OSPF-MIB

 

Parent:                                    ospfNbrEntry

Prev sibling:                          ospfNbrPriority

Next sibling:                          ospfNbrEvents

 

Numerical syntax:               Integer (32 bit)

Base syntax:                         INTEGER

Composed syntax:             INTEGER

Status:                                     current

Max access:                         read-only

Value list:                               1: down(1)

                                                  2: attempt(2)

                                                  3: init(3)

                                                  4: twoWay(4)

                                                  5: exchangeStart(5)

                                                  6: exchange(6)

                                                  7: loading(7)

                                                  8: full(8)

Default values:                     1: down (name)

 

Reference:                            OSPF Version 2, Section 10.1 Neighbor States

 

Description:    The state of the relationship with this neighbor.