Red Hat Training

A Red Hat training course is available for Red Hat Enterprise Linux

10.2. Configure 802.1Q VLAN tagging Using the Text User Interface, nmtui

The text user interface tool nmtui can be used to configure 802.1Q VLANs in a terminal window. Issue the following command to start the tool:
~]$ nmtui
The text user interface appears. Any invalid command prints a usage message.
To navigate, use the arrow keys or press Tab to step forwards and press Shift+Tab to step back through the options. Press Enter to select an option. The Space bar toggles the status of a check box.
From the starting menu, select Edit a connection. Select Add, the New Connection screen opens.
The NetworkManager Text User Interface Add a VLAN Connection menu

Figure 10.1. The NetworkManager Text User Interface Add a VLAN Connection menu

Select VLAN, the Edit connection screen opens. Follow the on-screen prompts to complete the configuration.
The NetworkManager Text User Interface Configuring a VLAN Connection menu

Figure 10.2. The NetworkManager Text User Interface Configuring a VLAN Connection menu

See Section 10.5.1.1, “Configuring the VLAN Tab” for definitions of the VLAN terms.
See Section 3.2, “Configuring IP Networking with nmtui” for information on installing nmtui.