Discard (command)

From VyOS Wiki
Revision as of 02:02, 29 March 2017 by Cbrjack (talk | contribs) (Page creation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The `discard` command removes all pending configuration changes.

Syntax

[edit]
vyos@vyos# discard

Examples

[edit]
vyos@vyos# discard

  Changes have been discarded

[edit]
vyos@vyos#

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

[edit]
vyos@vyos# discard

  No changes have been discarded

[edit]
vyos@vyos#

Command tree