If I try to insert the wrong command by 'set', I receive an error.
vyos@vyos# set interfaces ethernet 0 Invalid Ethernet interface name Value validation failed Set failed [edit]
But if I try to insert the wrong command by 'edit', I do not receive an error.
vyos@vyos# edit interfaces ethernet 0
[edit interfaces ethernet 0]
vyos@vyos# set address 192.0.2.1/24
[edit interfaces ethernet 0]
vyos@vyos# top
[edit]
vyos@vyos# show interfaces
+ethernet 0 {
+ address 192.0.2.1/24
+}
ethernet eth0 {
address dhcp
hw-id 0c:c4:4d:46:00:00
}
}