Network labs Docs Open simulator →

Junos commit, rollback, show configuration

Persist a change with commit, render the running config with show configuration, and undo it with rollback. The Junos triad of "apply / inspect / revert."

Open this lab in your browser →

Free · no install · no account

Scenario

Junos persistence is implicit: a successful commit writes the candidate to running and keeps the previous running as rollback 1. Up to 50 commits are kept, so rollback N is always available as the safety net. Unlike Cisco, there's no separate write memory — commit is the persist. Unlike VyOS, there's no separate save — Junos persists as part of commit.

Topology

1 × router · Junos-style

What you will do

  1. From cfg mode, stage set interfaces ge-0/0/0 description test-uplink and commit.

  2. Roll back the change with rollback 1 and re-commit to drop the description.

  3. Render the running config with show configuration (or just show from cfg mode).

Open this lab in your browser →

More labs on this topic

This lab in other languages

Junos commit, rollback, show configurationJunos commit, rollback, show configurationJunos commit, rollback, show configurationJunos commit, rollback, show configurationJunos commit, rollback, show configurationJunos commit、rollback、show configurationJunos commit, rollback, show configurationJunos commit、rollback、show configurationJunos commit, rollback, show configurationJunos commit, rollback, show configurationJunos commit, rollback, show configurationJunos commit, rollback, show configuration