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

CX11x, CX31x, CX710 (Earlier Than V6.03), and CX91x Series Switch Modules V100R001C10 Configuration Guide 13

The documents describe the configuration of various services supported by the CX11x&CX31x&CX91x series switch modules The description covers configuration examples and function configurations.
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).
Managing the Configuration File

Managing the Configuration File

This topic describes how to export the configuration file from a switch module and load another configuration file to the switch module.

Prerequisites

Make sure the following prerequisites are met before configuring the startup configuration file:
  • The switch module is running properly, and users can locally and remotely log in to the switch module.
  • The MM910 is properly installed and is running properly.

Configuration Procedure

Perform one or multiple of the following configuration tasks base on requirements.

Exporting the Configuration File (Version of the MM910 Is Earlier Than 3.30)

Context

The following describes two methods for backing up the switch module configuration file by using the MM910 whose version is earlier than 3.30:
  • Back up the configuration file over Secure File Transfer Protocol (SFTP).
  • Use the MM910 command for downloading the configuration file.

Procedure

  • Back up the configuration file over SFTP.
    1. Start the SFTP client on a PC. The MM910 is the SFTP server end.

      You can run SFTP client WinSCP on the PC and specify the host name, port number, user name, password, and file transfer protocol (select SFTP).

    2. Transfer the configuration file.

      You can use WinSCP on the PC to log in to the MM910 and transfer the switch module configuration file from the MM910 to the PC in binary file transfer mode.
      • The directory on the MM910 for storing the switch module configuration file is /common/flash/bladecfg/swiN.

        The value of N ranges from 1 to 4, indicating the switch module slot number.

      • The configuration file is 2_1_1.cfg.
        The names of different switch module configuration files are different on the MM910. The following describes the configuration file name mapping for switch modules.
        • The configuration file of the CX110 is 3_1_1.cfg.
        • The configuration file of the CX111 or CX915 is 6_1_1.cfg.
        • The configuration file of the CX310 is 2_1_1.cfg.
        • The configuration file of the CX311 is 34_1_1.cfg.
        • The configuration file of the CX312 is 18_1_1.cfg.
        • The configuration file of the CX710 is 8_1_1.cfg.
        • The configuration file for the 10GE switching plane on the CX910, CX911. CX912 or CX913 switches is 1_1_1.cfg.

  • Run the MM910 command for downloading the configuration file.
    1. Start the TFTP server program on the PC. The MM910 is the TFTP client.

      You can run the TFTP server program on the PC and specify the transfer path, TFTP server IP address, and port number for downloading the configuration file.

    2. Transfer the configuration file.

      On the MM910 command-line interface (CLI), you can run smmset -l swiN -d loadconfigfile -v filename ipaddress to export the switch module configuration file on the MM910.

      root@SMM:/# smmset -l swi3 -d loadconfigfile -v 2_1_1.cfg 192.168.40.200
      Success

Loading the Configuration File (Version of the MM910 Is Earlier Than 3.30)

This topic describes how to load the switch module configuration file.

Context

Switch module backup configuration enables quick configuration of switch modules in the other slots by using the MM910 whose version is earlier than 3.30. The following describes two methods for backing up the configuration file:
  • Back up the configuration file over Secure File Transfer Protocol (SFTP).
  • Run the MM910 command for loading the configuration file.

Procedure

  • Load the configuration file over SFTP.
    1. Start the SFTP client on a PC. The MM910 is the SFTP server end.

      You can run SFTP client WinSCP on the PC and specify the host name, port number, user name, password, and file transfer protocol (select SFTP).

    2. In the switch module user view, disable configuration file synchronization before this restart before loading the configuration file. Otherwise, the configuration file is replaced by the periodically synchronized configuration file.

      <HUAWEI> config-sync disable before-reboot

    3. Load the configuration file.

      You can use WinSCP on the PC to log in to the MM910 and transfer the switch module configuration file from the PC to the MM910 in binary file transfer mode.
      • The directory on the MM910 for storing the switch module configuration file is /common/flash/bladecfg/swiN.

        The value of N ranges from 1 to 4, indicating the switch module slot number.

      • The configuration file is 2_1_1.cfg.
        The names of different switch module configuration files are different on the MM910. The following describes the configuration file name mapping for switch modules.
        • The configuration file of the CX110 is 3_1_1.cfg.
        • The configuration file of the CX111 or CX915 is 6_1_1.cfg.
        • The configuration file of the CX310 is 2_1_1.cfg.
        • The configuration file of the CX311 is 34_1_1.cfg.
        • The configuration file of the CX312 is 18_1_1.cfg.
        • The configuration file of the CX710 is 8_1_1.cfg.
        • The configuration file for the 10GE switching plane on the CX910, CX911. CX912 or CX913 switches is 1_1_1.cfg.

    4. In the switch module user view, restart the switch module.

      <HUAWEI>reboot

  • Run the MM910 command for loading the configuration file.
    1. Start the TFTP server program on the PC. The MM910 is the TFTP client.

      You can run the TFTP server program on the PC and specify the transfer path, TFTP server IP address, and port number for loading the configuration file.

    2. In the switch module user view, disable configuration file synchronization before this restart before loading the configuration file. Otherwise, the configuration file is replaced by the periodically synchronized configuration file.

      <HUAWEI> config-sync disable before-reboot

    3. Load the configuration file.

      On the MM910 command-line interface (CLI), run smmset -l swiN -d offlineconfig -v bladetype planenum filename ipaddress to load the configuration file. The switch module restarts after the configuration file is successfully loaded.

      root@SMM:/# smmset -l swi3 -d offlineconfig -v 2 1 2_1_1.cfg 192.168.40.200
      In this condition,if offline configuration success,the blade will reboot.       
      Do you want to continue?[Y/N]:y                                                 
      Success

Exporting the Configuration File (Version of the MM910 Is 3.30 or Later)

Context

This document describes how to back up the configuration file in the switch module over the MM910 whose version is 3.30 or later.

Procedure

  1. Start the SFTP client on a PC. The MM910 is the SFTP server end.

    You can run SFTP client WinSCP on the PC and specify the host name, port number, user name, password, and file transfer protocol (select SFTP).

  2. Export the configuration file in the MM910.

    On the MM910 command-line interface (CLI), you can run the swiconfexport swiN command to export the switch module configuration file on the MM910.

    root@SMM:/# swiconfexport swi3
    Please check "/tmp/exchang/swi3/swi3.tar.gz"

    /tmp/exchang/swi3 is the directory where the configuration file is stored, and swi3.tar.gz is the configuration file to be exported.

  3. Transfer the configuration file.

    Use a cross-platform file transfer tool and enter the floating IP address of the MM910 to transfer the configuration file to a local folder in binary file transmission mode.
    • The directory on the MM910 for storing the switch module configuration file is /tmp/exchang/swi/swiN.

      The value of N ranges from 1 to 4, indicating the switch module slot number.

    • Names of configuration files.
      The configuration file name varies according to the switch modules.
      • The configuration file of the CX110 is 3_1_1.cfg.
      • The configuration file of the CX111 or CX915 is 6_1_1.cfg.
      • The configuration file of the CX310 is 2_1_1.cfg.
      • The configuration file of the CX311 is 34_1_1.cfg.
      • The configuration file of the CX312 is 18_1_1.cfg.
      • The configuration file of the CX710 is 8_1_1.cfg.
      • The configuration file for the 10GE switching plane on the CX910, CX911. CX912 or CX913 switches is 1_1_1.cfg.

    Download the configuration file to the PC and decompress it, and then the above configuration file names are displayed.

Loading the Configuration File (Version of the MM910 Is 3.30 or Later)

This topic describes how to load the switch module configuration file.

Context

Switch module backup configuration enables quick configuration of switch modules in the other slots by using the MM910 whose version is 3.30 or later.

Procedure

  1. Start the SFTP client on a PC. The MM910 is the SFTP server end.

    You can run SFTP client WinSCP on the PC and specify the host name, port number, user name, password, and file transfer protocol (select SFTP).

  2. Transfer the configuration file.

    Use a cross-platform file transfer tool and enter the floating IP address of the standby MM910 to transfer the configuration file to a local folder in binary file transmission mode.
    You are advised to rename the existing configuration file and back it up in the MM910 before the uploading. Otherwise, the existing configuration file in the MM910 will be replaced by the uploaded configuration file.
    • The directory on the MM910 for storing the switch module configuration file is /tmp/exchang/swi/swiN.

      The value of N ranges from 1 to 4, indicating the switch module slot number.

    • Names of configuration files.
      The configuration file name varies according to the switch modules.
      • The configuration file of the CX110 is 3_1_1.cfg.
      • The configuration file of the CX111 or CX915 is 6_1_1.cfg.
      • The configuration file of the CX310 is 2_1_1.cfg.
      • The configuration file of the CX311 is 34_1_1.cfg.
      • The configuration file of the CX312 is 18_1_1.cfg.
      • The configuration file of the CX710 is 8_1_1.cfg.
      • The configuration file for the 10GE switching plane on the CX910, CX911. CX912 or CX913 switches is 1_1_1.cfg.

  3. Run the following command on the MM910 command-line interface (CLI) to load the configuration file.

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

    The parameter descriptions are displayed as follows:
    • N indicates the slot number of the current switch module. Its value ranges from 1 to 4, from left to right mapping to slot numbers 1E, 2X, 3X, and 4E.
    • bladetype indicates the type of the blade where the configuration file is to be loaded. The value of bladetype ranges from 1 to 99. The values for switch modules are as follows:
      • CX110: 3
      • CX111 or CX915: 6
      • CX110: 2
      • CX311: 34
      • CX312: 18
      • CX710: 8
      • CX910, CX911, CX912 or CX913: 1
    • planenum: indicates the ID of a switching plane. The value 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 switching plane restarts after the configuration file is successfully loaded on the MM910, and the configuration file is automatically restored after the restart.

Translation
Download
Updated: 2019-12-13

Document ID: EDOC1000041694

Views: 60933

Downloads: 3623

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