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

OceanStor 2200 V3 and 2600 V3 Storage System V300R005 Command Reference

"Based on the CLI provided by the DeviceManager, this document describes how to use variouscommands classified by functions and how to set the CLI and manage the storage system throughthese 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 cifs

change service cifs

Function

The change service cifs command is used to modify the settings of the CIFS sharing service.

Format

change service cifs { status=? | security_model=? | guest_enabled=? | anonymous_enabled=? | signing_required_enabled=? | signing_enabled=? | oplock_enabled=? | oplock_timeout=? | notify_enabled=? | durable_handle_enabled=? | durable_handle_timeout=? | abse_enable=? | smb1_enable=? | smb2_enable=? } *

Parameters

Parameter

Description

Value

status=? Indicates the running status of the CIFS sharing service.

The value can be stop or start, where:

  • stop: The CIFS sharing service stops.
  • start: The CIFS sharing service starts.
security_model=? Indicates the authentication mode.

The value can be local_attestation, domain_attestation, or all_attestation, where:

  • local_attestation: indicates local authentication.
  • domain_attestation: indicates domain authentication.
  • all_attestation: indicates local authentication and domain authentication.
guest_enabled=? Whether guest access is allowed.

The value can be yes or no, where:

  • yes: Guest access is allowed.
  • no: Guest access is forbidden.
anonymous_enabled=? Whether anonymous access is allowed.

The value can be yes or no, where:

  • yes: Anonymous access is allowed.
  • no: Anonymous access is forbidden.
signing_required_enabled=? Whether the CIFS client must support signature.

The value can be yes or no, where:

  • yes: Signature must be supported.
  • no: Signature cannot be supported.
signing_enabled=? Whether to enable signature for the CIFS protocol.

The value can be yes or no, where:

  • yes: Signature is enabled.
  • no: Signature is disabled.
oplock_enabled=? Whether to enable opportunistic locking(oplock) (after a protocol is locked, the file system does not require a lock).

The value can be yes or no, where:

  • yes: Oplock is enabled.
  • no: Oplock is disabled.
oplock_timeout=? Indicates the timeout period of opportunistic locking(Oplock).

The value ranges from 15 to 60.

notify_enabled=? Whether to enable Notify.

The value can be yes or no, where:

  • yes: Notify is enabled.
  • no: Notify is disabled.
durable_handle_enabled=? Whether to enable durable handle.

The value can be yes or no, where:

  • yes: Durable Handle is enabled.
  • no: Durable Handle is disabled.
durable_handle_timeout=? Indicates the timeout period of durable handle.

The value ranges from 60 to 960.

abse_enable=? Whether access based share enumeration is allowed.

The value can be yes or no, where:

  • yes: Access based share enumeration is allowed.
  • no: Access based share enumeration is forbidden.
smb1_enable=? Whether to enable SMB1.

The value can be yes or no, where:

  • yes: SMB1 is enabled.
  • no: SMB1 is disabled.
smb2_enable=? Whether to enable SMB2.

The value can be yes or no, where:

  • yes: SMB2 is enabled.
  • no: SMB2 is disabled.

Level

Administrator

Usage Guidelines

This command does not support OceanStor 2200 V3 storage system.

Example

  • To view the CIFS sharing service before setting modification, run the following command.

    admin:/>show service cifs
    Running Status : Start
    Security Model : All Attestation
    Guest Enabled : No
    Anonymous Enabled : No
    Signing Required : No
    Signing Enabled : No
    Oplock Enabled : Yes
    Oplock Timeout(s) : 35
    Notify Enabled : Yes
    Durable Handle Enabled : Yes 
    Durable Handle Timeout(s) : 60
    ABSE Enabled : No
    SMB1 Enabled : Yes            
    SMB2 Enabled : Yes
  • To modify the CIFS sharing service, run the following command.

    admin:/>change service cifs oplock_timeout=50
    Command executed successfully.
  • To view the CIFS sharing service after setting modification, run the following command.

    admin:/>show service cifs
    Running Status : Start
    Security Model : All Attestation
    Guest Enabled : No
    Anonymous Enabled : No
    Signing Required : No
    Signing Enabled : No
    Oplock Enabled : Yes
    Oplock Timeout(s) : 50
    Notify Enabled : Yes
    Durable Handle Enabled : Yes 
    Durable Handle Timeout(s) : 60
    ABSE Enabled : No
    SMB1 Enabled : Yes
    SMB2 Enabled : Yes

System Response

None

Translation
Download
Updated: 2019-04-22

Document ID: EDOC1000106139

Views: 262046

Downloads: 178

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