Junos config mode — set, show candidate, commit
- Fundamentals
- Beginner
- 10 min
- 3 steps
- Junos-style
The headline Junos workflow: enter cfg mode with configure, stage a set line into the candidate, render the candidate with show, then commit to apply.
Open this lab in your browser →
Free · no install · no account
Scenario
Junos's two-phase commit is the operator-facing difference vs Cisco IOS. Changes don't take effect when typed — they accumulate in a *candidate configuration*. commit atomically swaps candidate to running. rollback discards the candidate (or rolls back N previous commits). In this lab jnx1 has a customer port ge-0/0/0 with no description. You'll add one, render the staged candidate, and commit it.
Topology
1 × router · Junos-style
jnx1— router
What you will do
Enter cfg mode with
configure. Prompt changes fromroot@jnx1>to[edit]\nroot@jnx1#.Stage a description on
ge-0/0/0:set interfaces ge-0/0/0 description uplink-to-jnx2.Apply the candidate with
commit. The description lands in the running IR.
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
Junos Config-Mode — set, show candidate, commitModo configuración Junos — set, show candidate, commitModo de configuração Junos — set, show candidate, commitMode configuration Junos — set, show candidate, commitJunos config mode — set, show candidate, commitJunos 配置模式 —— set、show candidate、commitModalità config Junos — set, show candidate, commitJunos config モード — set、show candidate、commitJunos config 모드 — set, show candidate, commitJunos config-режим — set, show candidate, commitJunos config modu — set, show candidate, commitChế độ config Junos — set, show candidate, commit