The ospfquery command is used to request ospf information stored at local ospf router. The ospfquery command is intended to be used as a tool for debugging ospf routing protocol, not for network management. SNMP is the preferred protocol for network management.