home

Supported platforms

Vyatta documentation

Learn how to install, configure, and operate the Vyatta Network Operating System (Vyatta NOS) and Orchestrator, which help drive our virtual networking and physical platforms portfolio.

show system commit file <rev-num>

Displays a specific revision of the configuration file.

show system commit file rev-num [ compare rev-num1 ]
rev-num
The revision number of the configuration file to display.
rev-num1
The revision number of the configuration file with which to compare.

Operational mode

Use this command to display a specific revision of the configuration file. Use the compare option to compare two revisions of the configuration file. You can display the list of configuration file revisions by using show system commit.

The following example shows revision 0 of the configuration file on R1.

vyatta@R1:~$ show system commit file 0
  interfaces {
      dataplane dp0p1p1 {
          address dhcp
          description "bridge to io"
          duplex auto
          speed auto
      }
[... the rest of the configuration file]
vyatta@R1:~$

The following example shows two configuration file revisions (18 and 19) being compared on R1.

vyatta@R1:~$ show system commit file 18 compare 19
[edit routing routing-instance red]
-protocols {
-       static {
-               route 20.2.3.0/24 {
-                       next-hop 20.1.2.2
-               }
-               route 20.2.4.0/24 {
-                       next-hop 20.1.2.2
-               }
-               route 20.3.2.0/24 {
-                       next-hop 20.1.2.2
-               }
-               route 20.3.4.0/24 {
-                       next-hop 20.1.2.2
-                       next-hop 20.3.1.2
-               }
-               route 20.4.2.0/24 {
-                       next-hop 20.1.2.2
-               }
-               route 20.4.4.0/24 {
-                       next-hop 20.1.2.2
-               }
-       }
-}
[edit]
vyatta@R1:~$