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

Command Reference 10

OceanStor 5300 V3, 5500 V3, 5600 V3, 5800 V3, and 6800 V3 Storage System V300R003

"Based on the CLI, this document describes how to use various commands classified by functions and how to set the CLI and manage the storage system through these commands. The document that you browse online matches the latest C version of the product. Click Download to download documents of other C versions."
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 common_config cifs

change common_config cifs

Function

The change common_config cifs command is used to modify basic CIFS configurations.

Format

change common_config cifs { communication_thread_number=? | work_thread_number=? | max_block_size=? | { permit_listen_ip=? | deny_listen_ip=? } | { permit_client=? | deny_client=? } } *

Parameters

Parameter

Description

Value

communication_thread_number=? Number of CIFS-based communication threads.

The value is an integer between 1 and 128.

work_thread_number=? Number of CIFS-based working threads.

The value is an integer between 1 and 128.

max_block_size=? MTU of CIFS.

The value is an integer between 1024 and 1,048,576.

permit_listen_ip=? Whitelist of CIFS listening IP addresses.

A maximum of 31 IP addresses can be entered. Separate IP addresses with a comas (,). Enter an asterisk (*) to add all IP addresses to the white list.

deny_listen_ip=? Blacklist of CIFS listening IP addresses.

A maximum of 31 IP addresses can be entered. Separate IP addresses with a comas (,). Enter an asterisk (*) to add all IP addresses to the blacklist.

permit_client=? Whitelist of CIFS clients.

Enter an asterisk to add all clients to the white list.

deny_client=? Blacklist of CIFS clients.

A maximum of 31 IP addresses can be entered. Separate IP addresses with a comas (,).

Level

Administrator

Usage Guidelines

  • "deny_listen_ip" and "permit_listen_ip" are mutually exclusive.
  • "permit_client" and "deny_client" are mutually exclusive.

Example

  • View public CIFS configurations before the modification.

    admin:/>show common_config cifs
    Communication Thread Number : 1000
    Work Thread Number : 10
    Max Block Size(byte) : 131072
    Listen IP : permit *
    Client List : permit *
  • Change the maximum number of working threads allowed by the share.

    admin:/>change common_config cifs work_thread_number=100 
    Command executed successfully
  • Change the maximum transmission unit (MTU).

    admin:/>change common_config cifs max_block_size=100  
    Command executed successfully
  • Modify the blacklist of listening IP addresses.

    admin:/>change common_config cifs deny_listen_ip=192.168.1.1 
    Command executed successfully.
  • Modify the blacklist of client IP addresses.

    admin:/>change common_config cifs deny_client=192.168.1.1  
    Command executed successfully
  • Change the number of CIFS-based communication threads.

    admin:/>change common_config cifs communication_thread_number=1000 
    Command executed successfully
  • View common CIFS configurations after the modification.

    admin:/>show common_config cifs
    Communication Thread Number : 100
    Work Thread Number : 100
    Max Block Size(byte) : 100
    Listen IP : deny 192.168.1.1
    Client List : deny 192.168.1.1

System Response

None

Translation
Download
Updated: 2019-07-22

Document ID: EDOC1000084195

Views: 367745

Downloads: 1594

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