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

Advanced O&M Command Reference

OceanStor 5000, 5000F, 6000, and 6000F V5 Series V500R007

This document is applicable to OceanStor 5110 V5, 5110F V5, 5300 V5, 5500 V5, 5600 V5, 5800 V5, 6800 V5, 5300F V5, 5500F V5, 5600F V5, 5800F V5, and 6800F V5. Based on the CLI, this document describes how to use various commands classified by functionsand how to set the CLI and manage the storage system through these commands.
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).
change service ftp

change service ftp

Function

The change service ftp command is used to modify the FTP configuration.

Format

change service ftp { anonymous_access_switch=? | anonymous_max_connection=? | client_max_connection=? | max_connections=? | onymous_max_connection=? | running_status=? | idle_time=? | anonymous_homedir=? | fxp_enabled=? | buffer_size=? | anonymous_upload=? | client_charset=? | umask=? | ftps_model=? | ftp_enabled=? | ssl_cipher_list=? | display_file_number=? | display_subdirectories_depth=? | client_compat_switch=? | max_connection_threshold=? } *

Parameters

Parameter

Description

Value

anonymous_access_switch=?

Anonymous user access switch.

The value can be "yes" or "no", where:

  • "yes": allows anonymous users to access the FTP.
  • "no": forbids anonymous users to access the FTP.

anonymous_max_connection=?

Maximum number of connections of all anonymous users.

The value must be an integer from 1 to 128.

client_max_connection=?

Maximum number of connections of a single client.

The value is an integer from 1 to the maximum number of connections.

NOTE:

The maximum number of connections varies depending on the product model. For details, see section "Software Specifications" in the product description.

max_connections=?

Maximum number of connections.

The value is an integer from 1 to the maximum number of connections.

NOTE:

The maximum number of connections varies depending on the product model. For details, see section "Software Specifications" in the product description.

idle_time=?

Idle period of connections.

The value must be an integer from 1 to 1440.

onymous_max_connection=?

Maximum number of connections of each user.

The value is an integer from 1 to the maximum number of connections.

NOTE:

The maximum number of connections varies depending on the product model. For details, see section "Software Specifications" in the product description.

running_status=?

Running status of the FTP service.

The value can be "stop" or "running", where:

  • "stop": stops the FTP service.
  • "running": starts the FTP service.

anonymous_homedir=?

Anonymous user working directory.

The value contains 1 to 1023 characters. The path consists of the file system name and the directory created by a user.

fxp_enabled=?

Status of the FXP function.

The value can be "yes" or "no", where:

  • "yes": enables the FXP function.
  • "no": disables the FXP function.

buffer_size=?

FTP cache size. This parameter is valid only in developer mode. For details about how to log in to the developer mode, see Advanced O&M Command Reference.

The value ranges from 8192 to 1048576 bytes.

anonymous_upload=?

Upload permission switch for anonymous users.

The value can be "true" or "false", where:

  • "true": The upload function is allowed.
  • "false": The upload function is not allowed.

The default value is "true".

client_charset=?

Coded character set of a client. This parameter takes effect only after the service is restarted.

The value can be "utf-8" or "gbk", where:

  • "utf-8": The client uses the UTF-8 code format.
  • "gbk": The client uses the gbk code format.

The default value is "utf-8".

umask=?

Umask of files and directories. This configuration takes effect only after the service is restarted.

The umask format is 000:000. The part before the colon indicates the file umask, and the part behind the colon is the directory umask. Each part is an octal integer ranging from 000 to 777.

ftps_model=?

FTPS model.

The value can be "explicit" or "implicit", where:

  • "explicit": explicit FTPS mode.
  • "implicit": implicit FTPS mode.

ftp_enabled=?

FTP function switch in explicit FTPS mode.

The value is "yes" or "no", where:

  • "yes": enables the FTP function.
  • "no": disables the FTP function.

ftps_enabled=?

FTPS switch when the FTP function is enabled.

The value is "yes" or "no", where:

  • "yes": enables the MLST, MLSD function.
  • "no": disables the MLST, MLSD function.

support_mlsx=?

MLST, MLSD function switch.

The value is "yes" or "no", where:

  • "yes": enables the MLST, MLSD function.
  • "no": disables the MLST, MLSD function.

ssl_cipher_list=?

FTPS security suite.

The value can be any of "AES128-SHA256", "AES256-SHA256", "AES128-SHA",

"DHE-DSS-AES128-SHA", "AES256-SHA", "DHE-DSS-AES256-SHA" or their combination.

For example, the value can be "AES128-SHA256" or "AES128-SHA256,AES256-SHA256".

display_file_number=?

Maximum number of files that can be displayed.

The value must be an integer from 1 to 1000000.

display_subdirectories_depth=?

Maximum number of subdirectories that can be displayed.

The value ranges from 1 to 100.

client_compat_switch=?

Whether the function of compatibility with clients is enabled.

The value can be "on" or "off", where:

  • "on": The function of compatibility with clients is enabled.
  • "off": The function of compatibility with clients is disabled.

max_connection_threshold=?

Alarm threshold of the maximum number of connections.

The value must be an integer from 0 to 99, expressed in percentage. If the ratio of connection quantity to the maximum number of connections exceeds the value, an alarm is reported. When this parameter is set to 0, the alarm function is disabled.

Views

Developer view

Usage Guidelines

To obtain the file system name, run the "show file_system general" command.

Example

None

System Response

None

Translation
Download
Updated: 2019-07-11

Document ID: EDOC1000181619

Views: 614224

Downloads: 242

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