```
set interfaces ethernet eth0 vif-s 100 description 'S-VLAN'
set interfaces ethernet eth0 vif-s 100 ethertype '0x8100'
set interfaces ethernet eth0 vif-s 100 vif-c 200 description 'C-VLAN'
set interfaces ethernet eth0 vif-s 100 firewall in name 'test'
commit
[ interfaces ethernet eth0 vif-s 100 firewall in name test ]
Configuration error: Rule set "test" is not configured
[[interfaces ethernet eth0 vif-s 100]] failed
[[interfaces ethernet eth0 vif-s 100 vif-c 200]] failed
Commit failed
set firewall name test default-action drop
set firewall name test rule 1010 action accept
set firewall name test rule 1010 state established enable
commit
[ interfaces ethernet eth0 vif-s 100 ]
RTNETLINK answers: File exists
Error creating VLAN device eth0.100
[[interfaces ethernet eth0 vif-s 100]] failed
[[interfaces ethernet eth0 vif-s 100 vif-c 200]] failed
Commit failed
```
As we can see, interface `eth0.100` was created.
```
vyos@vyos-rtr01# sudo ifconfig -a
eth0.100 Link encap:Ethernet HWaddr 00:0c:29:44:06:c7
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
```
I think need adding additional check or delete created interfaces on fail.