set interfaces ethernet eth1 vif 322
set interfaces ethernet eth1 vif 323
set interfaces ethernet eth1 vif 324
noc@vyos# delete interfaces ethernet eth1 vif
Possible completions:
322
323
324
[edit]
noc@vyos# delete interfaces ethernet eth1 vif 323
[edit]
noc@vyos# commit
[ interfaces ethernet eth1 ]
Traceback (most recent call last):
File “/usr/libexec/vyos/conf_mode/interfaces-ethernet.py”, line 416, in
apply(c)
File “/usr/libexec/vyos/conf_mode/interfaces-ethernet.py”, line 392, in apply
e.del_vlan(vif)
File “/usr/lib/python3/dist-packages/vyos/ifconfig.py”, line 1131, in del_vlan
VLANIf(vlan_ifname).remove()
File “/usr/lib/python3/dist-packages/vyos/ifconfig.py”, line 1029, in init
super().init(ifname, type)
File “/usr/lib/python3/dist-packages/vyos/ifconfig.py”, line 88, in init
raise Exception(‘interface “{}” not found’.format(self._ifname))
Exception: interface “eth1.323” not found
[[interfaces ethernet eth1]] failed
noc@vyos# run show version
Version: VyOS 1.3-rolling-202002240217