JN0-106 practice question 9 of 15

What does the user@router> clear log ospf-trace command accomplish?

Full set: 95 questions
Answer options
A: The ospf-trace file is deleted.
B: Trace parameters are removed from the OSPF protocol configuration.
C: Logging data into ospf-trace is stopped.
D: Data in the ospf-trace file is removed and logging continues. Correct answer
Correct Answer:
D. Data in the ospf-trace file is removed and logging continues.
Explanation

The operational command clear log ospf-trace truncates the file—erasing all existing contents—then immediately reopens it so that OSPF trace messages keep being written; only the stored data is removed.

Why Incorrect

A. Command does not remove the file itself; it only empties it.
B. Runtime command never changes configuration traceoptions statements.
C. Logging continues after the file is cleared; it is not halted.

References

1. Juniper Networks, Junos OS CLI Reference 23.4R1, “clear log” command, Description ¶1-2.

2. Junos OS System Log Messages Guide 22.3, “Clearing System Log Files,” p.19.

Scroll to Top