Trace Route Resolution Operations
Route resolution tracing operations track all route next-hop resolution operations and record them in a log file.
For a general discussion of tracing and the precedence of multiple tracing operations, see the JUNOS Internet Software Configuration Guide: Getting Started.
To configure route resolution tracing flags, include the
traceoptionsstatement:[edit routing-options resolution]traceoptions {filename<replace> <sizesize> <filesnumber> <no-stamp><(world-readable | no-world-readable)>;flagflag<flag-modifier> <disable>;}For a list of hierarchy levels at which you can configure this statement, see the statement summary section for this statement.
You can specify the following route resolution tracing flags:
all—Trace all tracing operations.event—Trace event processing.flash—Trace flash processing.indirect—Trace indirect next-hop additions, deletions, and changes.kernel—Trace kernel communication.task—Trace task/job processing.To configure a routing policy that can be used to filter trace output, include the
tracefilterstatement at the[edit routing-options resolution]hierarchy level (for routing instances, include the statement at the[edit routing-instancesrouting-instance-namerouting-options resolution]hierarchy level):[edit routing-options resolution]tracefilter [policy-names];