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


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


CX913 Switch Module V100R001C00 User Guide 22

This document describes the CX913 10GE switch module (CX913 for short) of the Tecal E9000 server in terms of its features, installation, removal, and configuration. This document applies to the CX913 whose GE/10GE switching planes use the software versions of 1.1.x.x.x, and 1.23-1.99.
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).
Using the CLI to Collect 10GE switching plane Information

Using the CLI to Collect 10GE switching plane Information


Use the CLI to collect the following information:

  • Logs
  • Debugging information
  • Trap information



WFTPD or later has been installed. wftpd32.exe is a cross-platform tool used to transfer files from a PC to switch modules. This tool is a piece of third-party free software. Obtain it yourself.


Data list


Example Value

IP addresses

Subnet mask

Default gateway

The default user name of a switching plane is root, and the default password is Huawei12#$.


You can query and set IP addresses of all modules on the MM910 WebUI. For details about how to log in to the MM910 WebUI, see Logging In to the HMM WebUI.

  • For MM910 earlier than (U54) 2.20, choose System Management > Network Management > Switch Module > IP Address.
  • For MM910 (U54) 2.20 or later, choose Chassis Settings > Network Settings > Switch Module.


  1. Log in to the Ethernet switching plane from the CLI. For details, see Logging In to a Server Over a Network Port by Using PuTTY or Logging In to a Compute Node or a Switch Module over MM910 SOL.
  2. Configure an FTP server. For details, see Configuring an FTP Server.
  3. Set an IP address for the management network port.

    1. After logging in to the Ethernet switching plane by using a serial port or the Serial over LAN (SOL) function, run the following commands on the switching plane CLI to query and set the IP address of the management network port so that the switch module can properly communicate with the FTP server:

      Skip this step if you log in to the switch module by using a network port.


      [Fabric]interface MEth 0/0/1

      [Fabric-MEth0/0/1]ip address 24

      [Fabric-MEth0/0/1]display this

      interface MEth0/0/1 
       ip address 



    2. If the configured IP address and the FTP server address are not on the same network segment, run the following command on the HMM CLI to configure a gateway address for the switching plane:

      smmset -l swiN:fruM -d route -v targetvalue maskvalue gatewayvalue

      The parameters in the command are described as follows:

      • N: specifies the slot number of a switch module. Its value ranges from 1 to 4, indicating switch module slots 1E, 2X, 3X, and 4E from left to right respectively.
      • M: specifies the ID of a switching plane. The value 2 indicates the Ethernet switching plane.
      • targetvalue: specifies the target network segment IP address of the switching plane.
      • maskvalue: specifies the subnet mask of the switching plane.
      • gatewayvalue: specifies the gateway address of the switching plane.

      For example, if the IP address is, run the following command:

      smmset -l swi3:fru2 -d route -v

  4. Obtain logs.

    1. Collect logs.

      <Fabric>display diagnostic-information diag-info.txt

      Now saving the diagnostic information to the device                            
      Info: The diagnostic information was saved to the device successfully.     

      <Fabric>save logfile

      Save log file successfully.
    2. View the log file system.


      Directory of flash:/ 
        Idx  Attr     Size(Byte)  Date        Time(LMT)  FileName  
          0  -rw-          1,075  Apr 01 2000 23:55:17 private-data.txt 
          1  -rw-          1,260  Apr 02 2000 00:00:13 hostkey 
          2  -rw-            540  Apr 02 2000 00:00:17 serverkey 
          3  -rw-        148,848  Sep 08 2015 11:22:40 diag-info.txt 
      16,129 KB total (15,976 KB free)     

      <Fabric>dir flashvx:/logfile/

      Directory of flashvx:/logfile/                                                   
        Idx  Attr     Size(Byte)  Date        Time(LMT)  FileName                      
          0  -rw-      2,939,200  Apr 01 2000 23:55:02 log.dblg                      
          1  -rw-         95,988  Jan 07 2014 19:16:00 
          2  -rw-        172,081  Jan 07 2014 21:35:14 
          3  -rw-      2,716,484  Jan 23 2014 01:35:24 log.log                       
          4  -rw-      4,589,648  Jan 17 2014 12:30:48 2000-04-01.23-55-08.dblg          
    3. Log in to the FTP server, and enter the user name and password.

      The following uses the FTP server address and the user name root as examples:


      Press CTRL+K to abort                                                   
      Connected to                                               
      220 WFTPD 2.0 service (by Texas Imperial Software) ready for new user 
      User( none):root                                           
      331 Give me your password, please                                       
      Enter password:                                                         
      230 Logged in successful                                               

      The FTP server address is determined by the user IP address.

    4. Convert the log file into a binary file for transfer.


    5. Obtain the log file.

      [ftp]put flash:/diag-info.txt

      200 PORT command okay 
      150 "F:\diag-info.txt" file ready to receive in IMAGE / Binary mode 
      226 Transfer finished successfully. 
      FTP: 148848 byte(s) sent in 0.280 second(s) 531.60Kbyte(s)/sec.      

      [ftp]lcd flashVX:/logfile

      The current local directory is flashVX:/logfile.     

      [ftp]mput *

      Error: The file name . is invalid. 
      Error: The file name .. is invalid. 
      200 PORT command okay 
      150 "F:\log.dblg" file ready to receive in IMAGE / Binary mode 
      226 Transfer finished successfully. 
      FTP: 1513938 byte(s) sent in 1.160 second(s) 1305.11Kbyte(s)/sec. 
      200 PORT command okay 
      150 "F:\log.log" file ready to receive in IMAGE / Binary mode 
      226 Transfer finished successfully. 
      FTP: 2689148 byte(s) sent in 1.940 second(s) 1386.15Kbyte(s)/sec. 
    6. View the log file in the FTP directory on the PC.

Updated: 2018-09-20

Document ID: EDOC1000015895

Views: 13714

Downloads: 191

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