VLAN Subinterface (802.1q)
This example configures a VLAN subinterface (IEEE 802.1q):
- rename the base interface to
trunk - set the base interface link to
up - create a VLAN subinterface for VLAN ID
42 - set the subinterface link state to
up - add an ipv4 address on the subinterface