EasyManuals Logo

HPE FlexFabric 5940 SERIES Fundamentals Command Reference

HPE FlexFabric 5940 SERIES
289 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #175 background imageLoading...
Page #175 background image
167
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: Specifies the running configuration. In the display diff
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. In the display diff
startup-configuration command, this keyword specifies the source configuration for comparison. In
the display diff configfile file-name-s and display diff current-configuration commands, this
keyword specifies the target configuration.
Examples
# Display the 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
#
<Sysname>
The output shows that VLAN 200 is contained in both configurations, VLAN 400 and VLAN 500 are
contained only in test.cfg, and VLAN 300 is contained only in startup.cfg.
# Display the differences between the running configuration and the next-startup configuration.
<Sysname> display diff current-configuration startup-configuration
--- Current configuration
+++ Startup configuration
@@ -17,9 +17,7 @@
#
vlan 200
#
-vlan 400
-#
-vlan 500
+vlan 300

Table of Contents

Other manuals for HPE FlexFabric 5940 SERIES

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HPE FlexFabric 5940 SERIES and is the answer not in the manual?

HPE FlexFabric 5940 SERIES Specifications

General IconGeneral
BrandHPE
ModelFlexFabric 5940 SERIES
CategorySwitch
LanguageEnglish

Related product manuals