OSPF Debugging Information

The following debugging commands are available in config-ospf mode. Messages will be logged in accordance with the settings in Logging.

debug event

Enable debugging information for OSPF events.

debug nssa

Enable debugging information for OSPF Not-So-Stubby Area information.

debug sr

Enable debugging information for OSPF Segment Routing information.

debug te

Enable debugging information for OSPF Traffic Engineering information.

debug (ism|nsm) (events|status|timers)

Enables State Machine debugging.

ism

Enable debugging information for the Interface State Machine.

nsm

Enable debugging information for the Neighbor State Machine.

For either of the above state machines, several types of debugging information are available:

events

Enable event debugging for the chosen state machine.

status

Enable status debugging for the chosen state machine.

timers

Enable timer debugging for the chosen state machine.

debug lsa (flooding|generate|install|refresh)

Enables Link State Advertisement debugging.

flooding

Enables debugging for LSA flooding.

generate

Enables debugging for LSA generation.

install

Enables debugging for LSA installation and deletion.

refresh

Enables debugging for LSA refresh.

debug packet (dd|hello|ls-acknowledgment|ls-request|ls-update) (send|recv) [detail]

Enables packet-level debugging.

dd

Debug database description packets.

hello

Debug OSPF hello packets.

ls-acknowledgment

Debug LSA acknowledgment packets.

ls-request

Debug LSA request packets.

ls-update

Debug LSA update packets.

Packet debugging entries are limited to a single direction:

send

Debug packets sent by this router.

recv

Debug packets received by this router.

Optionally, increased detail may be added to debugging messages by use of the detail parameter.

debug zebra (interface|redistribute)

Enables OSPF-specific debugging for the dynamic routing manager daemon.

interface

Debug dynamic routing manager interface information.

redistribute

Debug dynamic routing manager route redistribution information.