show system commit
This command lets you review the configurations that are stored on the system and to quickly compare them with each other.
This is very useful for troubleshooting — untended changes to the system configuration are often the cause of the problem.
Example: show system commit
$OS_PROMPT$ show system commit
0 2021-02-26 12:48:24 by configd
1 2021-02-12 12:11:54 by alice
2 2021-02-12 12:11:09 by alice
3 2021-02-05 13:57:03 by alice
4 2021-02-05 13:43:41 by alice
5 2021-02-05 13:41:00 by alice
6 2021-02-05 13:39:45 by alice
7 2021-02-05 11:49:36 by alice
8 2021-02-03 13:26:49 by alice
9 2020-12-02 17:39:24 by alice
10 2020-12-02 16:32:28 by alice
11 2020-12-02 14:42:14 by alice
12 2020-12-02 14:35:01 by alice
13 2020-12-02 14:18:14 by configd
$OS_PROMPT$ show system commit diff 1
[edit interfaces dataplane dp0s5]
-disable
We can see that configuration 1
was the active configuration on February 12th, 2021 and
it was committed by the user profile alice
.
With diff 1
we're comparing the current system configuration to configuration 1
. The output shows that in this comparison the current configuration lacks set interfaces dataplane dp0s5
disable
.