show system rollback
Syntax
show system rollback number <compare number | configuration-revision>
Description
This command displays the contents of a previously committed configuration, or the differences between two previously committed configurations.
The show system rollback
command is an operational mode command
and cannot be issued with run
from configuration mode.
Options
number | Number of a configuration to view. The output displays the configuration. The range of values is 0 through 49. |
compare number | (Optional) Number of another previously committed
(rollback) configuration to compare to rollback |
configuration-revision | (Optional) Display corresponding configuration revision for this rollback number. |
Required Privilege Level
view
Sample Output
show system rollback compare
user@host> show system rollback 3 compare 1 [edit] + interfaces { + ge-1/1/1 { + unit 0 { + family inet { + filter { + input mf_plp; + } + address 10.1.1.1/10; + } + } + } + ge-1/2/1 { + unit 0 { + family inet { + filter { + input mf_plp; + } + address 10.1.1.1/10; + } + } + } + ge-1/3/0 { + unit 0 { + family inet { + filter { + input mf_plp; + } + address 10.1.1.1/10; + } + } + } +}
show system rollback configuration-revision
user@host> show system rollback 0 configuration-revision The corresponding configuration revision is: re0-1596379942-3
Release Information
Command introduced before Junos OS Release 7.4.
Option configuration-revision
introduced in Junos
OS Release 20.4R1 and Junos OS Evolved Release 20.4R1.