Juniper Networks Exam: Undoing Changes on the Wrong Router

How to Undo Changes Made on the Wrong Router

Prev Question Next Question

Question

You configured an interface with an IP address and committed the change. You then committed a change that added an exception in a firewall filter to allow this network through the filter. You realize that this work was done on the wrong router.

How do you undo all these changes?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

A

The correct answer is B. rollback 1.

Explanation:

Rollback is a Junos feature that allows you to revert configuration changes to a previous point in time. When you commit a configuration change, the Junos OS automatically saves a copy of the previous configuration as a backup, which is known as a rescue configuration.

The command "rollback 0" reverts the configuration to the last committed state, which is equivalent to the rescue configuration. Therefore, it will undo all the changes made since the last commit, including the interface configuration and the firewall filter exception.

The command "rollback 1" reverts the configuration to the previous committed state, which is the state before the firewall filter exception was added. Therefore, it will undo the firewall filter exception but leave the interface configuration intact.

The command "rollback 2" reverts the configuration to two commits ago, which may or may not include the interface configuration and the firewall filter exception, depending on how many commits were made since the changes were made.

The command "rollback 3" reverts the configuration to three commits ago, which is further back in time than the other rollback options and may not include the changes made to the interface and firewall filter.

Therefore, the correct option to undo the firewall filter exception while leaving the interface configuration intact is "rollback 1."