JN0-102 · Question #194
Which two statements are true regarding trace options on Junos devices? (Choose two.)
The correct answer is A. You can see the contents of the log file by entering the show log <filename> command. D. The file name and a set of flags may be specified when enabling traceoptions.. On Junos devices, trace options allow logging specific debug information to a file, which can then be viewed using the show log command, and configuration includes specifying the filename and relevant flags.
Question
Which two statements are true regarding trace options on Junos devices? (Choose two.)
Options
- AYou can see the contents of the log file by entering the show log <filename> command.
- BTrace options will send information to your screen automatically.
- CTrace options are limited to one protocol at a time.
- DThe file name and a set of flags may be specified when enabling traceoptions.
How the community answered
(44 responses)- A93% (41)
- B5% (2)
- C2% (1)
Why each option
On Junos devices, trace options allow logging specific debug information to a file, which can then be viewed using the `show log` command, and configuration includes specifying the filename and relevant flags.
The `show log <filename>` command is the standard Junos OS operational command used to display the contents of any log file, including those generated by trace options.
Trace options by default write information to a specified log file; they do not automatically send debug information directly to the screen unless explicitly configured with specific flags for console output.
Trace options are highly flexible and can be configured for multiple protocols simultaneously (e.g., BGP, OSPF, PIM), each with its own specific trace configuration and output file if desired.
When configuring trace options for various protocols or system processes, administrators can specify a custom file name for the trace output and define specific `flags` to control the verbosity and type of information recorded.
Concept tested: Junos OS trace options configuration and viewing
Source: https://www.juniper.net/documentation/us/en/software/junos/junos-basics/topics/topic-map/cli-trace-options.html
Topics
Community Discussion
No community discussion yet for this question.