网络实验 文档 打开模拟器 →

VyOS 的 commit、save、show configuration

VyOS 的三层持久化:候选 / 运行 / 启动。练习 commit + save 的节奏并导出配置。

在浏览器中打开本实验 →

免费 · 无需安装 · 无需注册

场景

VyOS 维护三层配置: - 候选 —— 在配置 shell 中、commit 之前的内容。 - 运行 —— commit 已应用的内容;内核 + FRR 看到的就是它。 - 启动 —— /config/config.boot;重启时加载的内容。 commit 把候选写入运行;save 把运行写入启动。要让变更在 重启后保留,两者都需要。

拓扑

1 × 路由器 · VyOS

你将完成的任务

  1. 在配置 shell 中暂存 set system host-name vyos-edge 并 commit。

  2. 用 save 把运行配置持久化到启动配置。

  3. 用 show configuration 导出运行配置。

在浏览器中打开本实验 →

同主题的更多实验

本实验的其他语言版本

VyOS commit, save, show configurationVyOS commit, save, show configurationVyOS commit, save, show configurationVyOS commit, save, show configurationVyOS commit, save, show configurationVyOS commit, save, show configurationVyOS commit, save, show configurationVyOS の commit、save、show configurationVyOS commit, save, show configurationVyOS commit, save, show configurationVyOS commit, save, show configurationVyOS commit, save, show configuration