< Home

display files-share

Function

The display files-share command displays the configuration of file sharing.

Format

display files-share [ resource [ resource-alias ] ]

Parameters

Parameter Description Value

resource

Displays the configuration of file sharing resources.

-

resource-alias

Specifies the alias of file sharing resources.

The value is a string of 1 to 31 case-sensitive characters.

Views

Function service view

Default Level

0: Visit level

Usage Guidelines

None

Example

# Display the file sharing configuration of a virtual gateway.

<sysname> system-view
[sysname] v-gateway abc
[sysname-abc] service
[sysname-abc-service] display files-share
  VG Files Share Information
  ------------------------------
  Files Share State:            enable
  Support Protocol:             SMB/NFS

  ----End
Table 1 Description of the display files-share command output

Item

Description

Files Share State

Whether the file sharing function is enabled:
  • enable: indicates that the function is enabled.
  • disable: indicates that the function is disabled.

Support Protocol

File share protocols supported by FW.

# Display the configuration of file sharing resources of a virtual gateway.

[sysname-abc-service] display files-share resource
                       VG Files Share Resource List
                       ----------------------------

  No.    ResourceAlias   Type ResourcePath                  ResourceDescription
  ------------------------------------------------------------------------------
  1      for-book        SMB   //10.1.1.11/book              foreignbook
  2      mov-movie       NFS   //10.1.1.10/movie             classicalmovie
  ------------------------------------------------------------------------------

  ----End
Table 2 Description of the display files-share resource command output

Item

Description

ResourceAlias

The alias of resources.

Type

Supported file share protocol.

ResourcePath

The path of the fie sharing resource.

ResourceDescription

Detailed description of the resource.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >