Discard (command)

Created by Yuriy Andamasov, Modified on Thu, 18 Jan 2024 at 06:34 PM by Srividya Anantapatnaikuni

Article review date2024-01-19
Validated for VyOS versions
1.2.5, 1.3.5, 1.4.0, 1.5.x

The discard command removes all pending configuration changes. Syntax

[edit]
vyos@vyos-rtr# discard

Examples:

[edit]
vyos@vyos-rtr# discard

Changes have been discarded

[edit]
vyos@vyos-rtr#

When there is no change to discard, the command will return:

[edit]
vyos@vyos-rtr# discard

No changes have been discarded

[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