VyOS config mode — set, commit, save
- Fundamentals
- Beginner
- 10 min
- 3 steps
- VyOS
VyOS's two-phase commit model: configure → set ... → commit → save. Configure an IP on eth0, commit it, and watch op-mode see the change.
Open this lab in your browser →
Free · no install · no account
Scenario
VyOS's config flow: 1. configure — enter the configuration shell. 2. set ... / delete ... — stage changes in the candidate. 3. commit — apply candidate to running. 4. save — write running to disk (so it survives a reboot). 5. exit (or exit discard) — leave cfg shell back to op shell. Sound like Junos? It is — VyOS forked from Vyatta Core, which influenced (and was influenced by) Junos's two-phase model. In this lab R1 starts blank: eth0 exists but has no address. You'll configure 10.0.0.1/24, commit it, and verify.
Topology
1 × router · VyOS
vyos-r1— router
What you will do
Enter cfg shell with
configure.Stage
set interfaces ethernet eth0 address 10.0.0.1/24.Apply with
commit. The address lands oneth0in running.
Open this lab in your browser →
More labs on this topic
- Break and fix — your first troubleshooting walkBeginner · 10 min
- Config mode — your first configuration changesBeginner · 10 min
- EXOS break and fix — port disabledBeginner · 8 min
- EXOS config — create a VLAN, add a port, give it an IPBeginner · 10 min
- Your first ExtremeXOS switch — VLAN-centric readsBeginner · 8 min
- EXOS ping and tracerouteBeginner · 5 min
This lab in other languages
VyOS Config-Mode — set, commit, saveModo de configuración VyOS — set, commit, saveModo de configuração do VyOS — set, commit, saveMode config VyOS — set, commit, saveVyOS config mode — set, commit, saveVyOS 配置模式 —— set、commit、saveModalità config di VyOS — set, commit, saveVyOS の設定モード — set、commit、saveVyOS 설정 모드 — set, commit, saveРежим конфигурации VyOS — set, commit, saveVyOS yapılandırma modu — set, commit, saveChế độ config của VyOS — set, commit, save