show | compare rollback 1 display

Understanding the Command show | compare rollback 1 display

Prev Question Next Question

Question

What does the command show | compare rollback 1 display?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

D

The command "show | compare rollback 1 display" is used in Junos operating system to display the differences between the current candidate configuration and the candidate configuration from one commit ago.

Let's break down the command:

  • "show" is a Junos command used to display various types of information about the system, including the current configuration.

  • "|" is the pipe symbol, which is used to pass the output of one command as input to another command.

  • "compare" is a Junos command used to compare two configurations and display the differences between them.

  • "rollback 1" specifies the rollback point to which the configuration will be compared. In this case, it is one commit ago.

  • "display" specifies the format of the output.

So, when we run the command "show | compare rollback 1 display", Junos will display the differences between the current candidate configuration and the candidate configuration from one commit ago, and it will display the output in a format that is easy to read.

Option A is the correct answer. Option B is incorrect because it compares the active configuration with the candidate configuration, not the candidate configuration from one commit ago. Option C is incorrect because it compares the active configuration with the active configuration from one commit ago, not the candidate configuration. Option D is incorrect because it compares the current candidate configuration with the archived configuration, not the candidate configuration from one commit ago.