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>Search

Reminder

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

upgrade
CX920 Switch Module V100R001 User Guide 09
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Backing Up the Configuration File

Backing Up the Configuration File

This topic describes how to back up the configuration file. If configuration errors occur or the CX920 is faulty, you can use the backup configuration file to restore configuration data.

Scenarios

Use one of the following methods to back up the 10GE switching plane and 40GE switching plane configuration file:

  1. Run the save command to save configuration data to the CX920 and MM910.
  2. Run the reboot command and enter N as prompted to ensure that the configuration file is synchronized to the MM910.
  3. Export the configuration file of the MM910, and download the configuration file from the MM910 to a PC by using a cross-platform file transfer tool, for example, WinSCP.

For details, see the following procedures in this topic.

The 40GE switching plane and 10GE switching plane use the same procedure. The following procedure uses the 10GE switching plane as an example.

Prerequisites

Software

WinSCP.exe (third-party free software)

Procedure

  1. You have logged in to the 10GE switching plane command-line interface (CLI).
  2. You have logged in to the MM910 CLI.
  3. You have configured the 10GE switching plane and 40GE switching plane.
  4. Save the 10GE switching plane configuration file.

    1. Run the following command on the CLI of the 10GE switching plane to view the configuration file required for the next startup of the 10GE switching plane:

      <HUAWEI> display startup

      The command output is as follows:

      MainBoard: 
        Configured startup system software:        flash:/xxx.cc 
        Startup system software:                   flash:/xxx.cc 
        Next startup system software:              flash:/xxx.cc 
        Startup saved-configuration file:          flash:/vrpcfg.zip 
        Next startup saved-configuration file:     flash:/vrpcfg.zip 
        Startup paf file:                          default 
        Next startup paf file:                     default 
        Startup patch package:                     NULL 
        Next startup patch package:                NULL

      Next startup saved-configuration file indicates the configuration file for the next startup. The displayed information indicates that the configuration file is in vrpcfg.zip format.

      The configuration file must be a *.zip or *.cfg file. If the configuration file is a *.dat file, this file cannot be synchronized to the MM910.

      If the configuration file is a *.dat file, perform the following operations:

      • Run the save Configuration file name command to convert the configuration file into a *.zip or *.cfg file.
      • Run the startup saved-configuration Configuration file name command to set the configuration file used for the next startup to a *.zip or *.cfg file.

        For details, see CX920 Switch Module Command Reference.

    2. Save the 10GE switching plane configuration file from CX920 to the MM910.

      <HUAWEI> save

      The command output is as follows:

      Warning: The current configuration will be written to the device. Continue? [Y/N]:Y 
      Now saving the current configuration to the slot 1 
      Info: Save the configuration successfully. 
       
      begin synchronize configuration to SMM ... 
      slot 1: upload configuration to SMM successfully. 
      <HUAWEI>     
    3. Check that the configuration file is synchronized to the MM910 successfully.

      <HUAWEI> reboot

      If the following information is displayed, the configuration file is successfully synchronized.

      slot 2: 
      Next startup system software: flash:/xxx.cc 
      Next startup saved-configuration file: flash:/vrpcfg.zip 
      Next startup paf file: default 
      Next startup patch package: NULL 
       
      begin synchronize configuration to SMM ... 
      slot 2: upload configuration to SMM successfully. 
       
      System will reboot! Continue? [Y/N]:

      If a configuration file synchronization failure message is displayed, contact Huawei technical support.

    4. Enter N to not restart the 10GE switching plane.
    5. Connect the Ethernet port on a PC to the MGMT network ports on the panels of the active and standby MM910 over a local area network (LAN).
      • If the MGMT port on the active MM910 is already connected with a network cable, do not remove the network cable from the MGMT port. Otherwise, an active/standby switchover of the MM910s will be triggered, which may cause network interruption.
      • If you want to connect your local PC directly to the MM910 using a network cable but the MGMT port on the active MM910 is already connected with a network cable, connect the network cable from the local PC to the STACK port of the active MM910 in the chassis. If the STACK port on the active MM910 is also used, connect the network cable to an idle STACK port on an active MM910 in a chassis cascaded with the E9000 chassis.
    6. Use an SSH connection tool to log in to the MM910 CLI by using the floating IP address of the MM910s.

      This topic describes how to use PuTTY to log in over SSH. For details, see Logging In to a Server Over a Network Port by Using PuTTY.

    7. Query the version of the MM910.

      smmget -l smm -d version

      The information is displayed as follows:

      SMM Version Information: 
      Uboot    Version :(U54)012 
      CPLD     Version :(U1082)008  121120 
      PCB      Version :SMMA REV B 
      BOM      Version : 003 
      FPGA     Version :(U1049)007  121116 
      Software Version :(U54)2.0 
      IPMI Module Built:Mar 14 2013 22:31:44

      The value of the parameter Software Version is the software version of the MM910.

    8. Select an operation based on the MM910 software version.
      • If the software version is earlier than (U54) 3.00, go to 4.i.
      • If the software version is (U54) 3.00 or later, perform 4.j to 4.k.
    9. Use a cross-platform file transfer tool, and enter the floating IP address of the MM910 to download the configuration file to the PC in binary file transmission mode.

      For operation details, see E9000 Server V100R001 Upgrade Guide.

    10. Run the following command on the MM910 CLI to export the configuration file of the 10GE switching plane.

      root@SMM:/# swiconfexport swiN

      N: specifies the slot number of a switch module. Its value ranges from 1 to 4, mapping to switch module slots 1E, 2X, 3X, and 4E respectively.

      The following information is displayed with the configuration file name and directory.

      Succeed 
      Please check "/tmp/exchang/swiN/swiN.tar.gz"
    11. Use a cross-platform file transfer tool, and enter the MM910 floating IP address to download the configuration file shown in the command output to the PC in binary file transmission mode.

      This topic uses WinSCP as the cross-platform file transfer tool. For details, see Transferring Files Using WinSCP.

    Set the WinSCP transfer mode to the binary mode as follows: Enter the shortcut keys Ctrl+Alt+P. The Preferences window is displayed. In the navigation tree on the left, choose Transfer, and click Binary and OK.

    The configuration file is downloaded to the PC and decompressed. The 10GE switching plane configuration file is 11_0_1.cfg. The 40GE switching plane configuration file name is 11_1_1.cfg.

Translation
Download
Updated: 2019-12-04

Document ID: EDOC1000170901

Views: 25099

Downloads: 184

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next