I have three team interfaces:
- sw1 and sw2, both are three-NIC lacps
- and an activebackup called team0 (I'm open to better naming suggestions :) on top of sw1+sw2.
Here is how vlan interface teardown looks like using the unstacked sw1 interface:
[root@vc1n3 ~]# systemctl start teamd@sw1
[root@vc1n3 ~]# ip l s sw1 up
[root@vc1n3 ~]# ip link add link sw1 name lan.246 type vlan id 246
[root@vc1n3 ~]# ip l s lan.246 up
[root@vc1n3 ~]# systemctl stop teamd@sw1
[root@vc1n3 ~]#
Everything went fine, both sw1 and lan.246@sw1 are now gone.