Discard (command)

From VyOS Wiki
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