Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
 

Related Documentation

 

Tracing OSPF Protocol Traffic

Tracing operations record detailed messages about the operation of OSPF. You can trace OSPF protocol traffic to help debug OSPF protocol issues. When you trace OSPF protocol traffic, you specify the name of the file and the type of information you want to trace.

You can specify the following OSPF protocol-specific trace options:

  • database-description—All database description packets, which are used in synchronizing the OSPF topological database
  • error—OSPF error packets
  • event—OSPF state transitions
  • flooding—Link-state flooding packets
  • graceful-restart—Graceful-restart events
  • hello—Hello packets, which are used to establish neighbor adjacencies and to determine whether neighbors are reachable
  • ldp-synchronization—Synchronization events between OSPF and LDP
  • lsa-ack—Link-state acknowledgment packets, which are used in synchronizing the OSPF topological database
  • lsa-analysis—Link-state analysis. Specific to the Juniper Networks implementation of OSPF, Junos OS performs LSA analysis before running the shortest-path-first (SPF) algorithm. LSA analysis helps to speed the calculations performed by the SPF algorithm.
  • lsa-request—Link-state request packets, which are used in synchronizing the OSPF topological database
  • lsa-update—Link-state updates packets, which are used in synchronizing the OSPF topological database
  • nsr-synchronization—Nonstop routing synchronization events
  • on-demand—Trace demand circuit extensions
  • packet-dump—Dump the contents of selected packet types
  • packets—All OSPF packets
  • restart-signaling—(OSPFv2 only) Restart-signaling graceful restart events
  • spf—Shortest path first (SPF) calculations

You can optionally specify one or more of the following flag modifiers:

  • detail—Detailed trace information
  • receive—Packets being received
  • send—Packets being transmitted

Note: Use the detail flag modifier with caution as it might cause the CPU to become very busy.

Global tracing options are inherited from the configuration set by the traceoptions statement at the [edit routing-options] hierarchy level. You can override the following global trace options for the OSPF protocol using the traceoptions flag statement included at the [edit protocols ospf] hierarchy level:

  • all—All tracing operations
  • general—All normal operations and routing table changes (a combination of the normal and route trace operations)
  • normal—Normal events
  • policy—Policy processing
  • route—Routing information
  • state—State transitions
  • task—Routing protocol task processing
  • timer—Routing protocol timer processing

Note: Use the trace flag all with caution as it might cause the CPU to become very busy.

 

Related Documentation

 

Published: 2012-12-08

 

Related Documentation

 

Published: 2012-12-08