Juniper Networks Certified Associate Junos | Trace Options | Exam JN0-102

True Statements Regarding Trace Options on Junos Devices

Prev Question Next Question

Question

Which two statements are true regarding trace options on Junos devices? (Choose two.)

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

AD

Trace options on Junos devices allow you to collect and analyze detailed information about the operation of protocols, routing, and other aspects of the device's behavior. The information collected by trace options can be used for troubleshooting, debugging, and optimization of the device's configuration.

The correct statements about trace options on Junos devices are:

A. You can see the contents of the log file by entering the show log <filename> command. This statement is true. After enabling trace options, the output is saved to a log file. You can view the contents of the log file using the show log command followed by the name of the log file. For example, if the log file is named traceoptions.log, you can use the command show log traceoptions.log to view the contents of the file.

D. The file name and a set of flags may be specified when enabling traceoptions. This statement is also true. When enabling trace options, you can specify the name of the log file, the level of detail to be logged, and other options. The syntax for enabling trace options is:

swift
set protocols protocol-name traceoptions flag option;

For example, to enable trace options for the OSPF protocol and save the output to a file named ospf-trace.log, you can use the following command:

c
set protocols ospf traceoptions file ospf-trace.log

This command specifies the name of the log file using the file option.

B. Trace options will send information to your screen automatically. This statement is not true. By default, trace options do not send output to the screen automatically. Instead, the output is saved to a log file. You can use the show log command to view the contents of the log file.

C. Trace options are limited to one protocol at a time. This statement is also not true. You can enable trace options for multiple protocols at the same time. For example, you can enable trace options for OSPF, BGP, and ISIS protocols all at once. You can also specify different options and log file names for each protocol.