10.8.1 Using the ip Command to Create VLAN Devices

The ip command provides an alternate method of creating VLAN devices. However, such devices do not persist across system reboots.

To create a VLAN interface em1.5 for em1 with a PVID of 5:

# ip link add link em1 name em1.5 type vlan id 5

For more information, see the ip(8) manual page.