Skip to main content

vserver cifs show

Contributors
Suggest changes

Display CIFS servers

Availability: This command is available to cluster and Vserver administrators at the admin privilege level.

Description

The vserver cifs show command displays information about CIFS servers. The command output depends on the parameter or parameters specified with the command. If you do not specify any parameters, the command displays the following information about all CIFS servers:

  • Vserver name

  • CIFS server NetBIOS name

  • Domain or workgroup name

  • Authentication style

You can specify the -fields parameter to specify which fields of information to display about CIFS servers. In addition to the fields above, you can display the following fields:

  • Default site

  • Fully-qualified domain name

You can specify additional parameters to display only information that matches those parameters. For instance, to display information only about CIFS servers that are in the CIFS domain named RUBY, run the command with the -domain-workgroup RUBY parameter.

You can specify the ` -instance` parameter to display all information for all CIFS servers in list form.

Parameters

{ [-fields <fieldname>,…​]

If you specify the -fields <fieldname>, …​ parameter, the command only displays the fields that you specify.

| [-display-netbios-aliases ]

If you specify this parameter, the command displays information about configured NetBIOS aliases.

| [-instance ] }

If you specify the -instance parameter, the command displays detailed information about all entries.

[-vserver <vserver name>] - Vserver

If you specify this parameter, the command displays information only about the CIFS servers for the specified Vserver.

[-cifs-server <NetBIOS>] - CIFS Server NetBIOS Name

If you specify this parameter, the command displays information only for CIFS servers that match the specified CIFS server NetBIOS name.

[-domain-workgroup <CIFS domain>] - NetBIOS Domain/Workgroup Name

If you specify this parameter, the command displays information only for CIFS servers that are in the specified NetBIOS domain or workgroup.

[-domain <TextNoCase>] - Fully Qualified Domain Name

If you specify this parameter, the command displays information only for CIFS servers that are in the specified domain.

[-ou <text>] - Organizational Unit

If you specify this parameter, the command displays information only for CIFS servers that are in the specified organizational unit.

[-default-site <text>] - Default Site Used by LIFs Without Site Membership

If you specify this parameter, the command displays information only for CIFS servers that have the specified default site.

[-workgroup <NetBIOS>] - Workgroup Name

If you specify this parameter, the command displays information only for CIFS servers that are in the specified workgroup.

[-auth-style {domain|workgroup|realm}] - Authentication Style

If you specify this parameter, the command displays information only for CIFS servers that match the specified authentication style.

[-status-admin {down|up}] - CIFS Server Administrative Status

If you specify this parameter, the command displays information only for CIFS servers that match the specified administrative status.

[-comment <text>] - CIFS Server Description

If you specify this parameter, the command displays information only for CIFS servers that match the specified comment field.

[-netbios-aliases <NetBIOS>,…​] - List of NetBIOS Aliases

If you specify this parameter, the command displays information only for CIFS servers that have specified NetBIOS alias.

Examples

The following example displays a subset of the information about all CIFS servers:

cluster1::> vserver cifs show
Server      Domain/Workgroup
 Vserver        Name        Name             Authentication Style
 -------------- ----------- ---------------- --------------------
 vs1            CIFSSERVER1 EXAMPLE          domain

The following example displays all information about all CIFS-enabled Vservers in list form:

cluster1::> vserver cifs show -instance
Vserver: vs1
                         CIFS Server NetBIOS Name: CIFSSERVER1
                    NetBIOS Domain/Workgroup Name: EXAMPLE
                      Fully Qualified Domain Name: EXAMPLE.COM
                              Organizational Unit: CN=Computers
Default Site Used by LIFs Without Site Membership:
                                   Workgroup Name: -
                             Authentication Style: domain
                CIFS Server Administrative Status: up
                          CIFS Server Description:
                          List of NetBIOS Aliases: ALIAS_2, ALIAS_4, ALIAS_6

The following example displays the NetBIOS aliases for the CIFS server CIFSSERVER1

cluster1::> cifs show -display-netbios-aliases

Vserver: vs1
Server Name: CIFSSERVER1
  NetBIOS Aliases: ALIAS_2, ALIAS_4, ALIAS_6