# How to create vlan interface?
ip link add link eth0 name eth0.100 type vlan id 100
ip link set dev eth0.100 up
ip addr add 10.0.0.1/24 brd 255.255.255.0 dev eth0.100
# How to down and remove vlan interface?
ip link set dev eth0.100 down
ip link delete eth0.100