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#