Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

Tracing Restart Signaling-Based Helper Mode Events for OSPF Graceful Restart

Junos OS provides a tracing option to log restart signaling-based helper mode events for OSPF graceful restart. To enable tracing for restart signaling-based helper mode events, include the traceoptions flag restart-signaling statement at the [edit protocols ospf] hierarchy level.

To enable tracing for restart signaling-based events:

  1. Create a log file for saving the log.
    [edit protocols ospf]user@host# set traceoptions file ospf-log

    where ospf-log is the name of the log file.

  2. Enable tracing for restart signaling-based helper mode events.
    [edit protocols ospf]user@host# set traceoptions flag restart-signaling
  3. Commit the configuration.
    [edit protocols ospf]user@host# commit

The logs are saved to the ospf-log file in the /var/log folder.

Viewing the Log File

To view the restart signaling-based events from the log file, type:

user@host> file show /var/log/ospf-log | match “restart signaling”
Jun 25 14:44:08.890216 OSPF Restart Signaling: Start helper mode for nbr ip 14.19.3.2 id 10.10.10.1 
Jun 25 14:44:11.358636 OSPF restart signaling: Received DBD with R bit set from nbr ip=14.19.3.2 id=10.10.10.1. Start oob-resync.
Jun 25 14:44:11.380198 OSPF restart signaling: Received DBD with LR bit on from nbr ip=14.19.3.2 id=10.10.10.1. Save its oob-resync capability 1 
Jun 25 14:44:11.467200 OSPF restart signaling: nbr fsm for nbr ip=14.19.3.2 id=10.10.10.1 moving to state Full. Reset oob-resync parameters.

Published: 2013-08-28