DES-7200 Configuration Guide Chapter 2 Configuration File Management
2-6
2.4.1 Display the
Difference Between
Two Specified
Configuration Files
Enter privilege mode and execute the following steps to display the difference between
two specified configuration files:
Command Function
show archive config differences
[[file1] file2]
Display the difference between file1 and file2 by
taking file1 as the base file.
If file1 and file2 are not specified, then the system will assume file1 as the existing
configurations running on the device and file2 as the config.text in flash; if only file2 is
specified, then the system will assume file1 as the existing configurations running on the
device.
Configuration example 1:
# Display the difference between config.bak and config.text in flash.
DES-7200# show archive config differences flash:config.bak flash:config.text
Configuration example 2:
# If the configuration file is stored on the server or other network device, you can use
TFTP to download to the local device before comparison. For example, to compare
configbak.text on server 192.168.12.11 with config.text in the flash, assuming that
configbak.text and config.text contain the following configuration information:
configbak.text config.text
ip dhcp snooping information option
ip dhcp snooping bootp-bind
interface GigabitEthernet 0/3
ip dhcp snooping trust
ip dhcp snooping limit rate 1000
ip dhcp snooping suppression
snmp-server host 1.1.1.2 traps public
snmp-server enable traps
ip dhcp snooping verify mac-address
ip dhcp snooping information option
interface GigabitEthernet 0/3
ip dhcp snooping trust
ip dhcp snooping suppression
snmp-server host 1.1.1.1 traps public
snmp-server enable traps
DES-7200# show archive config differences flash:config.text
tftp://192.168.12.11/configbak.text