email@example.com:~$ show configuration commands | grep eth2 set interfaces ethernet eth2 hw-id '08:00:27:70:c6:80' set interfaces ethernet eth2 smp-affinity 'auto'
Now if I enter configuration mode and try to delete either speed or duplex values and run compare, device shows that there's no changes between working and active configurations, but doesn't allow me to exit from the configuration mode by exit, I need to run exit discard to do it.
Below is snippet of what's happening:
firstname.lastname@example.org# delete interfaces ethernet eth2 duplex  email@example.com# compare No changes between working and active configurations  firstname.lastname@example.org# exit Cannot exit: configuration modified. Use 'exit discard' to discard the changes and exit. 
I am assuming that this has something to do with the fact that these attributes have a default value associated with them(?). Not facing this issue for other attributes like mtu, or description.
email@example.com:~$ show version Version: VyOS 1.2.0-rolling+201904210337 Built by: firstname.lastname@example.org Built on: Sun 21 Apr 2019 03:37 UTC Build ID: 4fcdb2bb-9f16-440b-aecd-574a5165bf35
Version: VyOS 1.1.8 Description: VyOS 1.1.8 (helium) Copyright: 2017 VyOS maintainers and contributors Built by: email@example.com Built on: Sat Nov 11 13:44:36 UTC 2017 Build ID: 1711111344-b483efc