No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

compare configuration failed in S9300 due to version difference

Publication Date:  2013-12-28 Views:  63 Downloads:  0
Issue Description
A customer replied that he executed the command “compare configuration” fail even if the current configuration is same as the saved configuration.

From the command “compare configuration” we can see that the there is a vlan 507 in current configuration which is not in saved configuration.
<huawei>compare configuration
Warning: The current configuration is not the same as the saved configuration.
====== Current configuration line 4 ======
vlan batch 150 200 240 290 304 to 305 307 to 309 410 to 411 415 to 416 501 507
#
stp instance 0 root primary
stp bpdu-protection

====== Saved configuration line 4 ======
vlan batch 150 200 240 290 304 to 305 307 to 309 410 to 411 415 to 416 501
#
stp instance 0 root primary
stp bpdu-protection


But when the customer showed the saved configuration by the command “display saved-configuration”, he found that there was a vlan 507 there. And the saved configuration is exactly same as the current configuration.

From the command “display startup”, we can see that current version of S9300 is V100R002C00SPC200, and the “Startup saved-configuration file” and “Next startup saved-configuration file” are different.
<huawei>display startup
MainBoard:
  Configed startup system software:          flash:/S9300V100R002C00SPC200.cc
  Startup system software:                   flash:/S9300V100R002C00SPC200.cc
  Next startup system software:              flash:/S9300V100R002C00SPC200.cc
  Startup saved-configuration file:          cfcard:/vrpcfg.zip
  Next startup saved-configuration file:     cfcard:/temp0326.cfg

  Startup patch package:                     cfcard:/s9300v100r002sph023.pat
  Next startup patch package:                cfcard:/s9300v100r002sph023.pat

Alarm Information
none
Handling Process
From the command “display startup”,
<huawei>display startup
MainBoard:
  Configed startup system software:          flash:/S9300V100R002C00SPC200.cc
  Startup system software:                   flash:/S9300V100R002C00SPC200.cc
  Next startup system software:              flash:/S9300V100R002C00SPC200.cc
  Startup saved-configuration file:          cfcard:/vrpcfg.zip
  Next startup saved-configuration file:     cfcard:/temp0326.cfg

  Startup patch package:                     cfcard:/s9300v100r002sph023.pat
  Next startup patch package:                cfcard:/s9300v100r002sph023.pat

1. Before the version S9300 V100R002(included), the command” compare configuration” is to compare the current configuration with the startup saved-configuration file which is vrpcfg.zip in this test.  The command “save” will save the current configuration to the Next startup saved-configuration file, not startup saved-configuration file. In this case, after reboot the compare result will be same.

2. From the version S9300 V100R003(included), the command” compare configuration” is to compare the current configuration with the next startup saved-configuration file which is temp0326.cfg in this test. So if the current configuration is same as the saved configuration, the result of the command “compare configuration” will be same.
Root Cause
(1) The implement of the command “compare configuration” in different version is different. 
Suggestions
The implement of some command will be changed according to the software version, so please use the corresponding product documentation to check the command result.

END