Why do I use snmp to read the oid value of the ospf neighbor relationship, but find that the read is empty?

Created: Jul 31, 2019 21:01:25Latest reply: Jul 31, 2019 21:02:28 31 1 1 0
  Rewarded Hi-coins: 0 (problem resolved)

I need to manage The OSPF neighbor relationship of our company’s switch. So I want to use SNMP to read the OID value of the OSPF neighbor relationship, but find that the read is empty. But the MIB document shows that the OID can be read. How is this problem solved?


  • x
  • convention:

Featured Answers
Admin Created Jul 31, 2019 21:02:28 Helpful(0) Helpful(0)

Hi Hobbit,

The OSPF MIB of the switch is a virtual database. The OSPF process needs to be bound to the OSPF MIB to respond to SNMP requests. By default, the OSPF process is not bound to the OSPF MIB, so no value can be read.

Run the ospf mib-binding command to bind an OSPF process to the OSPF MIB, for example:

<HUAWEI> system-view

[HUAWEI] ospf 100

[HUAWEI-ospf-100] quit

[HUAWEI] ospf mib-binding 100

  • x
  • convention:

All Answers
Popeye_Wang Admin Created Jul 31, 2019 21:02:28 Helpful(0) Helpful(0)

Hi Hobbit,

The OSPF MIB of the switch is a virtual database. The OSPF process needs to be bound to the OSPF MIB to respond to SNMP requests. By default, the OSPF process is not bound to the OSPF MIB, so no value can be read.

Run the ospf mib-binding command to bind an OSPF process to the OSPF MIB, for example:

<HUAWEI> system-view

[HUAWEI] ospf 100

[HUAWEI-ospf-100] quit

[HUAWEI] ospf mib-binding 100

  • x
  • convention:

Reply

Reply
You need to log in to reply to the post Login | Register

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " Privacy."
If the attachment button is not available, update the Adobe Flash Player to the latest version!

Login and enjoy all the member benefits

Login
Fast reply Scroll to top