Display Default-Configuration; Display Diff - HPE D6020 Maintenance And Service Manual

Hide thumbs Also See for HPE D6020:
Table of Contents

Advertisement

Field
@@ -linenumber1,number1
+linenumber2,number2 @@
cmd1
- cmd2
+ cmd3
cmd4
Related commands
display current-configuration

display diff

display saved-configuration

display default-configuration

Use display default-configuration to display the factory defaults.
Syntax
display default-configuration
Views
Any view
Predefined user roles
network-admin
network-operator
Usage guidelines
The device is shipped with some basic settings called factory defaults. These default settings ensure
that the device can start up and run correctly when it does not have a startup configuration file or the
configuration file is corrupt.
Examples
# Display the factory defaults.
<Sysname> display default-configuration
display diff
Use display diff to display the configuration differences between two configuration files or between
a configuration file and the running configuration.
Description
B displays the target configuration for comparison, which can be
Current configuration, Startup configuration, or the name of the
target configuration file with its directory information.
Location summary for a command line difference:
-linenumber1,number1—A total number of number1 lines are
excerpted from line number linenumber1 in A. These lines contain a
command line difference.
+linenumber2,number2—A total number of number2 lines are
excerpted from line number linenumber2 in B. These lines contain a
command line difference.
Command line difference:
cmd1 and cmd4 provide a context for locating the different command
lines.
- cmd2 indicates that A contains cmd2 but B does not.
+ cmd3 indicates that B contains cmd3 but A does not.
189

Advertisement

Table of Contents
loading

Table of Contents