HPE D6020 Maintenance And Service Manual page 198

Hide thumbs Also See for HPE D6020:
Table of Contents

Advertisement

Syntax
display diff configfile file-name-s { configfile file-name-d | current-configuration |
startup-configuration }
display diff current-configuration { configfile file-name-d | startup-configuration }
display diff startup-configuration { configfile file-name-d | current-configuration }
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
configfile file-name-s: Specifies the source configuration file for comparison.
configfile file-name-d: Specifies the target configuration file for comparison.
current-configuration:
current-configuration command, this keyword specifies the source configuration for comparison. In
the display diff configfile file-name-s and display diff startup-configuration commands, this
keyword specifies the target configuration.
startup-configuration: Specifies the next-startup configuration file. In the display diff
startup-configuration command, this keyword specifies the source configuration file for
comparison. In the display diff configfile file-name-s and display diff current-configuration
commands, this keyword specifies the target configuration file.
Usage guidelines
If you specify the startup-configuration keyword, the system searches for the next-startup
configuration file for comparison in the following order:
1.
The main next-startup configuration file.
2.
The backup next-startup configuration file if the main next-startup configuration file is
unavailable, for example, the file is corrupt.
If both the main and backup next-startup configuration files are unavailable, the system displays a
message indicating that the next-startup configuration file does not exist.
Examples
# Display the configuration differences between startup.cfg and test.cfg.
<Sysname> display diff configfile startup.cfg configfile test.cfg
--- flash:/startup.cfg
+++ flash:/test.cfg
@@ -17,7 +17,9 @@
#
vlan 200
#
-vlan 300
+vlan 400
+#
+vlan 500
#
interface Aux2/0/0
#
Specifies
the
running
190
configuration.
In
the
display
diff

Advertisement

Table of Contents
loading

Table of Contents