discard
Discards any uncommitted changes to configuration.
Configuration mode
Use this command to discard all uncommitted changes to configuration.
The following example shows an uncommitted deletion and an uncommitted addition that are then discarded. In the example, notice that the uncommitted deletion is flagged with a minus sign “-” and the uncommitted addition is flagged with a plus sign (+), which disappear after the discard command is entered.
vyatta@vyatta# show interfaces dataplane dp0p1p3
-address 192.168.1.100/24
+address 192.168.1.101/24
hw-id 00:13:46:e6:f6:87
vyatta@vyatta# discard
Changes have been discarded
vyatta@vyatta# show interfaces dataplane dp0p1p3
address 192.168.1.100/24
hw-id: 00:13:46:e6:f6:87