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

CX311 Switch Module V100R001C00 User Guide 22

This document describes the CX311 10GE / FCoE converged switch module of the Tecal E9000 server in terms of its features, installation, removal, and configuration.
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).
Restoring the Configuration File

Restoring the Configuration File

Scenarios

Restore the configuration file to the CX311.

Use one of the following methods to restore the configuration file on the converged switching plane:

  • Power on the converged switching plane. The system automatically uses the configuration file of the MM910 to restore configuration data. This section does not describe the automatic restoration.
  • Upload and load the configuration file of the converged switching plane to the MM910 and restart the converged switching plane. The system automatically uses the configuration file of the MM910 to restore configuration data. For details, see Procedure.

Upload the configuration file of the FCoE gateway from the PC to the CX311 and run the restoration command in the FCoE gateway to restore the configuration file. For details, see Procedure.

Prerequisites

Conditions

The PC contains a configuration file.

Procedure

  • Restore the converged switching plane configuration file.
  1. Log in to the converged switching plane CLI.
  2. Log in to the MM910 CLI.
  3. Connect the Ethernet port on a PC to the MGMT ports on the active and standby MM910s over a local area network (LAN).
  4. Connect to the MM910 floating IP address over SSH to log in to the MM910 CLI.

    PuTTY is used as an example for login over SSH. For details, see Logging In to the MM910 CLI over a Network Port by Using PuTTY.

  5. 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.

  6. Select an operation based on the MM910 software version.

    • If the software version is earlier than (U54) 3.00, perform 7 to 9.
    • If the software version is (U54) 3.00 or later, perform 10 to 11.

  7. Run the following command on the converged switching plane CLI to disable converged switching plane configuration synchronization to the MM910 before a restart:

    <HUAWEI> config-sync disable before-reboot

    If the following information is displayed, the setting is successful:

    XCU won't synchronize configuration to SMM before reboot.

  8. Use a cross-platform file transfer tool and enter the floating IP address of the MM910 to transfer the configuration file on the PC to the MM910 in binary file transmission mode.

    NOTE:

    You are advised to back up and rename the existing configuration file on the MM910 before the upload, because it will be replaced by the uploaded configuration file. For details about how to back up the configuration file, see Backing Up the Configuration File.

    • The configuration file name is 34_1_1.cfg.
    • The path for storing the configuration file is /common/flash/bladecfg/swiN.

      N ranges from 1 to 4, mapping to switch module slots 1E, 2X, 3X, and 4E from left to right.

    WinSCP is used as the cross-platform file transfer tool. For details, see Transferring Files Using WinSCP.

    NOTE:

    Set the WinSCP transfer mode to the binary mode as follows: Press 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.

  9. Run the following command on the converged switching plane CLI to restart the converged switching plane:

    <HUAWEI> reboot

    The command output is as follows:

        slot 4:  
        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       
                Warning: Current configuration will be saved to the next startup saved-configuration file! Continue? [Y/N]: 

    Enter N. The following information is displayed:

    System will reboot! Continue? [Y/N]:

    Enter Y. The converged switching plane restarts and the configuration file is automatically restored after the restart.

  10. Use a cross-platform file transfer tool and enter the floating IP address of the MM910 to transfer the configuration file on the PC to the MM910 in binary file transmission mode.

    NOTE:

    You are advised to back up and rename the existing configuration file on the MM910 before the upload. Otherwise, it will be replaced by the uploaded configuration file. For details about how to back up the configuration file, see Backing Up the Configuration File.

    • The configuration file name is 34_1_1.cfg.
    • The upload path of the configuration file is /tmp/exchang/swiN.

      N ranges from 1 to 4, mapping to switch module slots 1E, 2X, 3X, and 4E from left to right.

    WinSCP is used as the cross-platform file transfer tool. For details, see Transferring Files Using WinSCP.

    NOTE:

    Set the WinSCP transfer mode to the binary mode as follows: Press 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.

  11. Run the following command on the MM910 CLI to load the configuration file of the converged switching plane:

    root@SMM:/#smmset -l swiN -d offlineconfig -v bladetype planenum filename

    The parameters are described as follows:

    • 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 from left to right.
    • bladetype: indicates the type of the blade where the configuration file is to be loaded. The value of the CX311 is 34.
    • planenum: indicates the switching plane number. The value of the converged switching plane is 1.
    • filename: indicates the name of the configuration file to be loaded.

    The following information is displayed:

    In this condition,if offline configuration success,the blade will reboot.        
    Do you want to continue?[Y/N]:y                                                  
    Success

    The converged switching plane restarts automatically after the configuration file is successfully loaded to the MM910, and the configuration file is automatically restored after the restart.

  • Restore the FCoE gateway configuration file.
  1. Log in to the FCoE gateway CLI.
  2. Enter the FCoE gateway IP address, user name (images), and password (Huawei12#$) to go to the FCoE gateway SFTP session screen, and upload the configuration file to the FCoE gateway by using the SFTP tool as the client.

    For example, to upload the configuration file config_mx510_06302015 from the PC, run the following commands:

    > sftp images@ip_address  
    Connecting to ip_address    
        Password: Huawei12#$     
        sftp> put config_mx510_06302015 configdata    
        Uploading configdata to remote://configdata    
        sftp: sent 105 KB in 0.03 seconds    
        Uploading config_mx510_06302015 to remote://config_mx510_06302015      
        sftp: sent 105 KB in 0.03 seconds     
        sftp> quit

  3. Run the following commands on the FCoE gateway CLI to restore the configuration file:

    FCoE_GW: admin> admin start

    FCoE_GW (admin): admin> config restore

    The command output is as follows:

      The switch will be reset after restoring the configuration.  
      This process will cause a disruption to I/O traffic.  
      Please confirm (y/n): [n] y

    Enter Y to start the restoration.

Translation
Download
Updated: 2018-09-20

Document ID: EDOC1000018097

Views: 62037

Downloads: 3389

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next