Displaying and maintaining OSPF
Execute display commands in any view and reset commands in user view.
Task | Command |
---|---|
Display OSPF process information. | display ospf [ process-id ] [ verbose ] |
Display OSPF GR information. | display ospf [ process-id ] graceful-restart [ verbose ] |
Display OSPF FRR backup next hop information. | display ospf [ process-id ] [ area area-id ] fast-reroute lfa-candidate [ topology topo-name ] |
Display OSPF LSDB information. | display ospf [ process-id ] lsdb [ brief | originate-router advertising-router-id | self-originate ] display ospf [ process-id ] lsdb { opaque-as | ase } [ link-state-id ] [ originate-router advertising-router-id | self-originate ] display ospf [ process-id ] [ area area-id ] lsdb { asbr | network | nssa | opaque-area | opaque-link | router | summary } [ link-state-id ] [ originate-router advertising-router-id | self-originate ] |
Display OSPF next hop information. | display ospf [ process-id ] nexthop |
Display OSPF NSR information. | display ospf [ process-id ] non-stop-routing status |
Display OSPF neighbor information. | display ospf [ process-id ] peer [ verbose ] [ interface-type interface-number ] [ neighbor-id ] |
Display neighbor statistics for OSPF areas. | display ospf [ process-id ] peer statistics |
Display OSPF routing table information. | display ospf [ process-id ] routing [ ip-address { mask-length | mask } ] [ interface interface-type interface-number ] [ nexthop nexthop-address ] [ verbose ] |
Display SPF tree information. | display ospf [ process-id ] [ area area-id ] spf-tree [ verbose ] |
Display OSPF statistics. | display ospf [ process-id ] statistics [ error | packet [ interface-type interface-number ] ] |
Display OSPF virtual link information. | display ospf [ process-id ] vlink |
Display OSPF request queue information. | display ospf [ process-id ] request-queue [ interface-type interface-number ] [ neighbor-id ] |
Display OSPF retransmission queue information. | display ospf [ process-id ] retrans-queue [ interface-type interface-number ] [ neighbor-id ] |
Display OSPF ABR and ASBR information. | display ospf [ process-id ] abr-asbr [ verbose ] |
Display summary route information on the OSPF ABR. | display ospf [ process-id ] [ area area-id ] abr-summary [ ip-address { mask-length | mask } ] [ verbose ] |
Display OSPF interface information. | display ospf [ process-id ] interface [ interface-type interface-number | verbose ] |
Display OSPF log information. | display ospf [ process-id ] event-log { lsa-flush | peer | spf } |
Display OSPF ASBR route summarization information. | display ospf [ process-id ] asbr-summary [ ip-address { mask-length | mask } ] |
Display the global route ID. | display router id |
Clear OSPF statistics. | reset ospf [ process-id ] statistics |
Clear OSPF log information. | reset ospf [ process-id ] event-log [ lsa-flush | peer | spf ] |
Restart an OSPF process. | reset ospf [ process-id ] process [ graceful-restart ] |
Re-enable OSPF route redistribution. | reset ospf [ process-id ] redistribution |