For reproducing the bug, create vif and delete it.
set interfaces ethernet eth1 vif 50 address 10.20.30.1/24 commit delete interfaces ethernet eth1 vif 50 commit
Vif Interface still live in the system and op-mode
[email protected]:~$ show interfaces Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down Interface IP Address S/L Description --------- ---------- --- ----------- eth0 192.168.122.11/24 u/u eth1 - u/u eth1.50 10.20.30.1/24 u/u
[email protected]:~$ sudo ip link show | grep 1.50 5: [email protected]: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000 sudo ip route show | grep 10.20 10.20.30.0/24 dev eth1.50 proto kernel scope link src 10.20.30.1