Tracing Global Routing Protocol Operations
Global routing protocol tracing operations track all general routing operations and record them in a log file. To set protocol-specific tracing operations and to modify the global tracing operations for an individual protocol, configure tracing for that protocol.
For a general discussion about tracing and the precedence of multiple tracing operations, see the Junos System Basics Configuration Guide.
To configure global routing protocol tracing, include the traceoptions statement at the [edit routing-options] hierarchy level:
Using the traceoptions statement, you can specify the following global routing protocol tracing flags:
- all—All tracing operations
- condition-manager—Condition manager events
- config-internal—Configuration internals
- general—All normal operations and routing table changes (a combination of the normal and route trace operations)
- graceful-restart—Graceful restart operations
- normal—All normal operations
- nsr-synchronization—Nonstop-routing synchronization events
- parse—Configuration parsing
- policy—Policy operations and actions
- regex-parse—Regular-expression parsing
- route—Routing table changes
- state—State transitions
- task—Interface transactions and processing
- timer—Timer usage
![]() | Note: Use the trace flag all with caution. This flag may cause the CPU to become very busy. |
The flags in a traceoptions flag statement are identifiers. When you use the set command to configure a flag, any flags that might already be set are not modified. In the following example, setting the timer tracing flag has no effect on the already configured task flag. Use the delete command to delete a particular flag.
Examples: Tracing Global Routing Protocol Operations
Log all globally traceable operations, saving the output in up to 10 files that are up to 10 MB in size:
Log all unusual or abnormal traceable operations:
Log changes that occur in the Junos OS routing table:
Hide Navigation Pane
Show Navigation Pane
Download
SHA1
