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

ME60 Troubleshooting Guide V1.0 (VRPv8)

This document provides the maintenance guide of the device, including daily maintenance, emergence maintenance, and typical troubleshooting.
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).
FTP Troubleshooting

FTP Troubleshooting

This chapter describes common causes of the fault that the user fails to log in to the server using FTP, and provides the corresponding troubleshooting flowcharts and examples.

A User Fails to Log in to a Server Using FTP

This section describes the troubleshooting flowchart and provides a step-by-step troubleshooting procedure for the fault that the user fails to log in to the server using FTP.

Common Causes

User fails to login to FTP server is commonly caused by one of the following:

  • The route between the client and server is unreachable.
  • The FTP server is disabled.
  • The listening port specified by FTP is not the default port or the user has specified an incorrect port to connect to the FTP server.
  • The authentication information and working directory of the FTP user are not configured.
  • The number of users logging in to the server using FTP has reached the upper threshold.
  • An ACL rule is configured on the FTP server to limit the number of access clients.
Troubleshooting Flowchart

Figure 4-8 shows the troubleshooting flowchart.

Figure 4-8 Troubleshooting flowchart for the fault that the client fails to log in to the FTP server

Troubleshooting Procedure

Context

NOTE:

After the commands are configured to troubleshoot the faults, check the configuration validation mode to ensure that the configurations take effect. Unless otherwise specified, this manual defaults to immediate validation mode.

  • In immediate validation mode, the configurations take effect after the commands are entered.
  • In two-phase validation mode, after the commands are configured, the commit command needs to be run to commit the configurations.

Save the results of each troubleshooting step so that if your troubleshooting attempts fail to correct the fault, you will have a record of your actions to present to Huawei.

Procedure

  1. Check that the client can ping the server.

    Run the ping command to check whether the client can ping the FTP server.

    <HUAWEI> ping 10.164.39.218
    Pinging 10.164.39.218 with 32 bytes of data:
    Request timed out.
    Request timed out.
    Request timed out.
    Request timed out.
    
    Ping statistics for 10.164.39.218:
        Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
    

    • If the ping fails, the FTP connection cannot be established between the client and server. In this case, rectify the fault according to Ping Troubleshooting, and ensure that the FTP client pings the FTP server successfully.

    • If the ping succeeds, go to Step 2.

  2. Check that the FTP server is enabled.

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

    • If the following information is displayed, the FTP server is disabled:
      <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                 :
      IPv6 ACL name            : 
      ACL number               :
      IPv6 ACL number          : 
      Current user count       : 0
      Max user number          : 15
      Source IPv4 address      : 0.0.0.0
      Source IPv6 address      : ::
      Source IPv6 VpnName      : 
      
      Run the ftp server enable command in the system view to enable the FTP server if the FTP server is disabled.
      <HUAWEI> system-view
      [HUAWEI] ftp server enable
      [HUAWEI] ftp ipv6 server enable
      
    • If the following information is displayed, the FTP server is enabled:
      <HUAWEI> display ftp-server
      -----------------------------------------------------------------
      Server State               : enabled
      Ipv6 server state          : enabled
      Timeout value (in minute)  : 30
      Listen port                : 21
      Ipv6 listen port           : 21
      ACL 4 name                 : 
      ACL 4 number               : 0
      Current user count         : 0
      Max user number            : 5
      Source IPv4 address        : 0.0.0.0
      Source interface           :
      Source IPv6 address      : ::
      Source IPv6 VpnName      :  
      ------------------------------------------------------------------

      Go to Step 3.

  3. Check whether the licensing port specified by the FTP server is the default port (port 21).

    Run the display ftp-server command in any view to check the listening port specified by the FTP server.

    <HUAWEI> display ftp-server
    -----------------------------------------------------------------
    Server State               : enabled
    Ipv6 server state          : enabled
    Timeout value (in minute)  : 30
    Listen port                : 21
    Ipv6 listen port           : 21
    ACL 4 name                 : 
    ACL 4 number               : 0
    Current user count         : 0
    Max user number            : 5
    Source IPv4 address        : 0.0.0.0
    Source interface           :
    Source IPv6 address      : ::
    Source IPv6 VpnName      :  
    ------------------------------------------------------------------
    • If the licensing port specified by the FTP server is not port 21, run the ftp server port command to set it to port 21.
      <HUAWEI> system-view
      [HUAWEI] ftp server port 21
    • If the licensing port specified by the FTP server is port 21, go to Step 4.

  4. Check whether the authentication information and the authorization directory for the FTP user are configured.
    • The name, password, and working directory are mandatory configurations for an FTP user. If any of them is not specified, the user fails to login to the FTP server. To configure the FTP user name, password, and working directory:
      1. Run the aaa command to enter the AAA view.
      2. Run the local-user user-name password [ cipher password | irreversible-cipher irreversible-cipher-password ] command to configure the name and password for a local user.
      3. Run the local-user user-name ftp-directory directory command to configure the authorization directory for the FTP user.
    • The access type is optional. By default, the system supports all access types. If one or several access types are configured, the user can log in to the server only using the configured access types.

      Run the local-user user-name service-type ftp command to configure the FTP service type.

    • If the authentication information and authorization directory are configured for the FTP user, go to Step 5.
  5. Check that the number of users logging in to the FTP server has reached the upper threshold.

    Run the display ftp-users command to check whether the number of users logging in to the FTP server has reached 5.

    • If the number of users logging in to the FTP server is 5, run the quit command in the FTP client view to end the connection between a user and the FTP server.
    • If the number of users logging in to the FTP server is less than 5, go to step 6.
  6. Check that an ACL rule is configured on the FTP server.

    Run the display [ ipv6 ] ftp-server command to check whether an ACL rule is configured on the FTP server.

    • If an ACL rule is configured, the system allows only the clients whose IP addresses are not denied by the ACL rule to log in to the FTP server.
    • If no ACL deny rule for the IP address is configured, go to step 7.
  7. Collect the following information and contact Huawei technical support personnel.

    • Results of the preceding troubleshooting procedures.
    • Configuration files, log files, and alarm files of the devices.

Relevant Alarms and Logs
Relevant Alarms

None.

Relevant Logs

FTPS/5/LOGIN_FAIL

FTPS/5/FTPS_CMD_EXECUTION

The FTP Transmission Fails

This section describes the troubleshooting flowchart and provides a step-by-step troubleshooting procedure for the fault that the FTP transmission fails.

Common Causes

This FTP transmission failure is commonly caused by one of the following:

  • The source or destination directory of an FTP connection contains invalid English characters.
  • The number of files in the root directory of the FTP server has reached the upper threshold.
  • The available space of the root directory of the FTP server is insufficient.
Troubleshooting Flowchart
Figure 4-9 shows the troubleshooting flowchart.
Figure 4-9 Troubleshooting flowchart for the fault that the FTP transmission fails

Troubleshooting Procedure

Context

NOTE:

After the commands are configured to troubleshoot the faults, check the configuration validation mode to ensure that the configurations take effect. Unless otherwise specified, this manual defaults to immediate validation mode.

  • In immediate validation mode, the configurations take effect after the commands are entered.
  • In two-phase validation mode, after the commands are configured, the commit command needs to be run to commit the configurations.

Save the results of each troubleshooting step so that if your troubleshooting attempts fail to correct the fault, you will have a record of your actions to present to Huawei.

Procedure

  1. Check whether the source or destination directory of an FTP connection contains non-English characters.
    • If the directory contains non-English characters, modify the directory.

    • If the directory does not contain non-English characters, go to Step 2.

  2. Check whether the number of files in the root directory of the FTP server has reached the upper threshold.

    At present, a maximum of 40 files can be stored in the root directory of the FTP server. When the number of files in the root directory of the FTP server reaches 40 and unnecessary files are not cleared, new files cannot be stored.

    Run the dir command on the FTP server to view the number of files in the root directory of the FTP server.

    • If the root directory of the FTP server contains 40 files, run the delete command in the user view to delete unnecessary files to release the storage space.
    • If the root directory of the FTP server contains fewer than 40 files, go to Step 3.
  3. Check that the available space in the root directory of the FTP server is sufficient.

    Run the dir command on the FTP server to view the available space in the root directory of the FTP server.

    • If there is no sufficient space, run the delete command in the user view to delete unnecessary files.
    • If there is sufficient space, go to Step 4.
  4. Collect the following information and contact Huawei technical support personnel.

    • Results of the preceding troubleshooting procedures.
    • Configuration files, log files, and alarm files of the devices.

Relevant Alarms and Logs
Relevant Alarms

None.

Relevant Logs

None.

The FTP Transmission Rate Is Low

This section describes the troubleshooting flowchart and provides a step-by-step troubleshooting procedure for the fault that the FTP transmission rate is low.

Common Causes

A low FTP transmission rate is commonly caused by one of the following:

  • Packets are retransmitted because the network is unstable.
Troubleshooting Flowchart

None.

Troubleshooting Procedure

Context

NOTE:

After the commands are configured to troubleshoot the faults, check the configuration validation mode to ensure that the configurations take effect. Unless otherwise specified, this manual defaults to immediate validation mode.

  • In immediate validation mode, the configurations take effect after the commands are entered.
  • In two-phase validation mode, after the commands are configured, the commit command needs to be run to commit the configurations.

Save the results of each troubleshooting step so that if your troubleshooting attempts fail to correct the fault, you will have a record of your actions to present to Huawei.

Procedure

  1. Check whether packets are retransmitted.

    Collect packets and analyze the packets using packet collection tools to check whether TCP packets are retransmitted on the client PC. Packet retransmission is usually caused by network instability.

    Figure 4-10 shows an example of packets obtained using the tools. From the figure, it can be seen that a lot of TCP retransmission packets are received.

    Figure 4-10 Diagram of packets got through tools

  2. Collect the following information and contact Huawei technical support personnel.

    • Results of the preceding troubleshooting procedures.
    • Configuration files, log files, and alarm files of the devices.

Relevant Alarms and Logs
Relevant Alarms

None.

Relevant Logs

None.

Translation
Download
Updated: 2019-06-11

Document ID: EDOC1000175918

Views: 13748

Downloads: 257

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