Rollback (command)

Created by Yuriy Andamasov, Modified on Wed, 17 Jan 2024 at 04:23 PM by Srividya Anantapatnaikuni

Article review date
2024-01-17
Validated for VyOS versions
1.2.5, 1.3.5, 1.4.0

You can rollback configuration using the rollback command, however this command will immediately trigger a system reboot once confirmed. Use the compare command to verify the configuration you want to rollback. 

Syntax

vyos@vyos-rtr# compare 1
[edit system]
>host-name vyos-1
[edit]
vyos@vyos-rtr# rollback 1
Proceed with reboot? [confirm][y]
Broadcast message from root@vyos-1 (pts/0) (Tue Dec 17 21:07:45 2013):
The system is going down for reboot NOW!
[edit]
vyos@vyos-rtr#

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article