Displaying and maintaining OSPF
Execute display commands in any view and reset commands in user view.
Task | Command |
---|---|
Display OSPF process information (in standalone mode). | display ospf [ process-id ] [ verbose ] [ standby slot slot-number ] |
Display OSPF process information (in IRF mode). | display ospf [ process-id ] [ verbose ] [ standby chassis chassis-number slot slot-number ] |
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 |
Display OSPF LSDB information (in standalone mode). | display ospf [ process-id ] lsdb [ area area-id | brief | [ { asbr | ase | network | nssa | opaque-area | opaque-as | opaque-link | router | summary } [ link-state-id ] ] [ originate-router advertising-router-id | self-originate ] ] [ standby slot slot-number ] |
Display OSPF LSDB information (in IRF mode). | display ospf [ process-id ] lsdb [ area area-id | brief | [ { asbr | ase | network | nssa | opaque-area | opaque-as | opaque-link | router | summary } [ link-state-id ] ] [ originate-router advertising-router-id | self-originate ] ] [ standby chassis chassis-number slot slot-number ] |
Display OSPF next hop information. | display ospf [ process-id ] nexthop |
Display OSPF neighbor information (in standalone mode). | display ospf [ process-id ] peer [ verbose ] [ interface-type interface-number ] [ neighbor-id ] [ standby slot slot-number ] |
Display OSPF neighbor information (in IRF mode). | display ospf [ process-id ] peer [ verbose ] [ interface-type interface-number ] [ neighbor-id ] [ standby chassis chassis-number slot slot-number ] |
Display neighbor statistics of OSPF areas (in standalone mode). | display ospf [ process-id ] peer statistics [ standby slot slot-number ] |
Display neighbor statistics of OSPF areas (in IRF mode). | display ospf [ process-id ] peer statistics [ standby chassis chassis-number slot slot-number ] |
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 OSPF topology information. | display ospf [ process-id ] [ area area-id ] spf-tree [ verbose ] |
Display OSPF statistics. | display ospf [ process-id ] statistics [ error ] |
Display OSPF virtual link information (in standalone mode). | display ospf [ process-id ] vlink [ standby slot slot-number ] |
Display OSPF virtual link information (in IRF mode). | display ospf [ process-id ] vlink [ standby chassis chassis-number slot slot-number ] |
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 (in standalone mode). | display ospf [ process-id ] interface [ interface-type interface-number | verbose ] [ standby slot slot-number ] |
Display OSPF interface information (in IRF mode). | display ospf [ process-id ] interface [ interface-type interface-number | verbose ] [ standby chassis chassis-number slot slot-number ] |
Display OSPF route calculation log information. | display ospf [ process-id ] event-log 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 ] counters |
Reset an OSPF process. | reset ospf [ process-id ] process [ graceful-restart ] |
Re-enable OSPF route redistribution. | reset ospf [ process-id ] redistribution |