Display Diff - HP FlexFabric 7900 Series Command Reference Manual

Hide thumbs Also See for FlexFabric 7900 Series:
Table of Contents

Advertisement

<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.
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
mdc-admin
mdc-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 or corrupt.
If both the main and backup next-startup configuration files are unavailable or corrupt, the system
displays a message indicating that the next-startup configuration file does not exist.
Examples
# Display the configuration differences between test.cfg and testsys.cfg.
<Sysname> display diff configfile test.cfg configfile testsys.cfg
--- flash:/test.cfg
+++ flash:/testsys.cfg
@@ -6,7 +6,7 @@
#
stp global enable
Specifies
the
running
146
configuration.
In
the
display
diff

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents