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