Show Table of Contents

7.2. 使用文本用户界面 nmtui 配置 802.1Q VLAN 标记
可在终端窗口中,使用文本界面工具 nmtui 配置 802.1Q VLAN。运行以下命令启动该工具:
~]$ nmtui
此时会出现文本用户界面。输入任何无效命令都会显示用法信息。
请使用箭头键或按 Tab 在选项间前进,按 Shift+Tab 后退。按 Enter 选择一个选项。按 Space 键更改复选框状态。
在开始菜单中选择 编辑连接。选择 添加,此时会打开 新建连接 页面。

图 7.1. NetworkManager 文本用户界面中的添加 VLAN 连接菜单
选择 VLAN,此时会打开 编辑连接 页面。按照页面提示完成配置。

图 7.2. NetworkManager 文本用户界面中的配置 VLAN 连接菜单
有关 VLAN 术语定义详情,请查看 第 7.5.1.1 节 “配置 VLAN 标签”。
有关安装 nmtui 的详情,请查看 第 1.5 节 “使用文本用户界面(nmtui)进行网络配置”。

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.