138
If both the main and backup next-startup configuration files are unavailable or corrupt, the system
prompts that the next-startup configuration file does not exist.
Examples
# Display the configuration differences between the current startup configuration file and the next-startup
configuration file.
<TEST1>display current-configuration diff
--- Startup configuration
+++ Current configuration
@@ -6,7 +6,7 @@
#
stp global enable
#
- sysname TEST
+ sysname TEST1
#
telnet server enable
#
Table 18
Command output
Field Description
- - - Startup configuration
The next-startup configuration file.
+++ Current configuration
The current startup configuration file.
@@ -
linenumber1
,
number1
+
linenumber2
,
number2
@@
Location summary for a command line difference:
•
-
linenumber1
represents the line number of the different
command line in the next-startup configuration file.
•
+
linenumber2
represents the line number of the different
command line in the current startup configuration file.
•
number1
represents the total number of lines excerpted from the
next-startup configuration file for comparison. The lines help you
further locate the difference.
•
number2
represents the total number of lines excerpted from the
current startup configuration file for comparison. The lines help
you further locate the difference.
-
cmd
+
cmd
Different command lines in the compared configuration files:
•
The command line in the next-startup configuration file is
prefixed with a minus sign (-).
•
The command line in the current startup configuration file is
prefixed with a plus sign (+).
cmd
The command line without a minus sign (-) or a plus sign (+) provides
a context for locating the different command lines.
Related commands
•
display current-configuration
•
display diff
•
display saved-configuration