Task
Display OSPF statistics.
Display OSPF virtual link
information.
Display OSPF request queue
information.
Display OSPF retransmission queue
information.
Display OSPF ABR and ASBR
information.
Display summary route information
on the OSPF ABR.
Display OSPF interface information.
Display OSPF log information.
Display OSPF ASBR route
summarization information.
Display the global route ID.
Clear OSPF statistics.
Clear OSPF log information.
Restart an OSPF process.
Re-enable OSPF route
redistribution.
OSPF configuration examples
Basic OSPF configuration example
Network requirements
As shown in
•
Enable OSPF on all switches, and split the AS into three areas.
•
Configure Switch A and Switch B as ABRs.
Figure
24:
Command
display ospf [ process-id ] statistics [ error | packet [ interface-type
interface-number ] ]
display ospf [ process-id ] vlink
display ospf [ process-id ] request-queue [ interface-type
interface-number ] [ neighbor-id ]
display ospf [ process-id ] retrans-queue [ interface-type
interface-number ] [ neighbor-id ]
display ospf [ process-id ] abr-asbr [ verbose ]
display ospf [ process-id ] [ area area-id ] abr-summary
[ ip-address { mask-length | mask } ] [ verbose ]
display ospf [ process-id ] interface [ interface-type
interface-number | verbose ]
display ospf [ process-id ] event-log { lsa-flush | peer | spf }
display ospf [ process-id ] asbr-summary [ ip-address
{ mask-length | mask } ]
display router id
reset ospf [ process-id ] statistics
reset ospf [ process-id ] event-log [ lsa-flush | peer | spf ]
reset ospf [ process-id ] process [ graceful-restart ]
reset ospf [ process-id ] redistribution
104