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 12

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).
Common Configuration Errors

Common Configuration Errors

This topic describes faults in logging in to the FTP server and uploading files to the FTP server.

Fault in Logging in to the FTP Server

Cause Analysis
  • The FTP server is not running.
  • The listening port number of the FTP server is not the default one, and no port number is specified when you log in to the FTP server.
  • The authentication information, authorized directory, and user level of the FTP user are not configured.
  • The number of online FTP users who have logged in to the FTP server reaches the upper threshold 15.
  • An ACL is configured on the FTP server, and the FTP client IP address is not specified in the ACL.

Procedure

  1. Check whether the FTP server is running properly.

    Run the display ftp server command in any view to check the FTP server status.

    • The following information indicates that the FTP server is not running:
      <HUAWEI> display ftp server
      Server state         : Disabled
      IPv6 server state    : Disabled
      Timeout value (mins) : 30
      IPv6 Timeout value (mins) : 30
      Listen port          : 21
      IPv6 listen port     : 21
      ACL name             :
      ACL number           :
      Current user count   : 0
      Max user number      : 15
      Source IPv4 address  : 0.0.0.0     

      Run the ftp server enable command in the system view to start the FTP server.

      <HUAWEI> system-view
      [~HUAWEI] ftp server enable
      Info: Succeeded in starting the FTP server.
      [*HUAWEI] commit
    • The following information indicates that the FTP server is running properly:
      <HUAWEI> display ftp server
      Server state         : Enabled
      IPv6 server state    : Disabled
      Timeout value (mins) : 30
      IPv6 Timeout value (mins) : 30
      Listen port          : 21
      IPv6 listen port     : 21
      ACL name             :
      ACL number           :
      Current user count   : 0
      Max user number      : 15
      Source IPv4 address  : 0.0.0.0

  2. Check whether the listening port number of the FTP server is the default port number 21.

    1. Run the display tcp status command in any view to check the current TCP port listening status.

      <HUAWEI> display tcp status
      --------------------------------------------------------------------------------
      Pid/SocketID         Local Addr:Port       Foreign Addr:Port     VPNID      State
      --------------------------------------------------------------------------------
      0x8093272F/4         0.0.0.0:22            0.0.0.0:0             4294967295 LISTEN
      0x80C82739/8         0.0.0.0:23            0.0.0.0:0             4294967295 LISTEN
      0x80130402/21        0.0.0.0:179           192.168.168.2:0       0          LISTEN
      0x80130402/91        192.168.168.1:42589   192.168.168.2:179     0          ESTABLISHED
      0x80C82739/22117     192.168.1.110:23      192.168.1.3:1342      0          ESTABLISHED
      0x80C82739/22176     192.168.1.110:23      192.168.1.3:1585      0          ESTABLISHED
      0x80C82739/22405     192.168.1.110:23      192.168.1.3:2441      0          ESTABLISHED
      0x80C82739/22497     192.168.1.110:23      192.168.1.3:2757      0          ESTABLISHED
      0x80952731/22563     0.0.0.0:21           0.0.0.0:0             4294967295 LISTEN
      --------------------------------------------------------------------------------
      
    2. Run the display ftp server command in any view to check the listening port number of the FTP server.

      <HUAWEI> display ftp server
      Server state         : Enabled
      IPv6 server state    : Disabled
      Timeout value (mins) : 30
      IPv6 Timeout value (mins) : 30
      Listen port        : 21
      IPv6 listen port     : 21
      ACL name             :
      ACL number           :
      Current user count   : 0
      Max user number      : 15
      Source IPv4 address  : 0.0.0.0

    If the listening port number is not 21, run the ftp server port command to set the listening port number to 21.

    <HUAWEI> system-view
    [~HUAWEI] undo ftp server
    Info: Succeeded in closing the FTP server.
    [*HUAWEI] ftp server port 21
    [*HUAWEI] ftp server enable
    Info: Succeeded in starting the FTP server.
    [*HUAWEI] commit

    Alternatively, enter the port number configured on the server when you set up an FTP connection on the FTP client.

  3. Check whether the authentication information, authorized directory, and user level of the FTP user are correctly configured.

    The FTP user name, password, authorized directory, and user level must be configured. If the FTP authorized directory and user level are not configured, login fails.

    1. Run the aaa command to enter the AAA view.
    2. Run the local-user user-name password irreversible-cipher irreversible-cipher-password command to configure the local FTP user name and password.
    3. Run the local-user user-name ftp-directory directory command to specify an FTP authorized directory for the FTP user.
    4. Run the local-user user-name level level command to set the FTP user level. The user level must be set to 3 or upper levels to ensure successful connection establishment.

    The service type is optional. By default, the system supports all service types. If you set the service-type parameter, only the service types that you set are available to FTP user.

    Run the local-user user-name service-type ftp command to set the service types for the FTP user.

  4. Check whether the number of online FTP users who have logged in to the FTP server reaches the upper threshold.

    Run the display ftp server users command to check the number of online FTP users.

  5. Check the ACL rule on the FTP server.

    Run the display ftp server command to check the ACL rule on the FTP server.

    If an ACL is configured on the FTP server, only IP addresses specified in the ACL can log in to the FTP server.

Failure in Uploading Files to the FTP Server

Cause Analysis
  • The FTP source or destination directory name consists of unsupported characters.
  • Space of the FTP root directory is insufficient.

Procedure

  1. Check whether the FTP source and destination directory names consist of unsupported characters.

    The following characters and spaces are forbidden: ~ */ \ : ' "

    If the directory names consist of any unsupported characters, modify the directory names.

  2. Check whether space of the FTP root directory is insufficient.

    Run the dir command on the FTP server to check the free space of the FTP root directory.

    If the space of the FTP root directory is insufficient, run the delete /unreserved command in the user view to delete unnecessary files.

Translation
Download
Updated: 2019-08-09

Document ID: EDOC1000041694

Views: 58749

Downloads: 3621

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