OSPF Debug and Show Commands
XSR CLI Reference Guide 5-109

show ip ospf

Thiscommand,whenanydebuggingtypeisenabled,displaysoutputaboutthefollowingtypes

ofOSPFinformation:designatedrouterevents,neighborevents,LinkStateAdvertisements

(LSAs),andpackets.

Syntax
show ip ospf
Mode
EXECorGlobalconfiguration: XSR> or XSR(config)#
Sample Output

Thefollowingissampleoutputwhenalldebuggingtypesareenabled:

XSR#show ip ospf
Routing Process "ospf 1 " with ID 1.1.1.4
Supports only single TOS(TOS0) route
It is an area border and autonomous system boundary router
Summary Link update interval is 0 seconds.
External Link update interval is 0 seconds.
Debugging enabled for:
dr
lsa
nbr
packet
Redistributing External Routes from:
static
Number of areas in this router is 4
Area BACKBONE (0)
Number of interfaces in this area is 1
Area has no authentication
SPF algorithm executed 2 times
Area ranges are
Area 0.0.0.5
Number of interfaces in this area is 2
Area has no authentication
SPF algorithm executed 2 times
Area ranges are
18.0.0.0 255.0.0.0
Parameter Descriptions
Routing Process OSPFprocessnumberandrouterID.
Supports TOSsupport.