Skip to main content

vserver cifs check

Contributors
Suggest changes

Display Validation Status of CIFS Configuration from Each Node

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

Description

Use the vserver cifs check command to check the status of configured CIFS server on a particular vserver.

Parameters

{ [-fields <fieldname>,…​]

If you specify the -fields <fieldname>, …​ parameter, the command output also includes the specified field or fields. You can use '-fields ?' to display the fields to specify.

| [-instance ] }

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

[-vserver <vserver name>] - Vserver

Use this parameter to specify the Vserver whose CIFS server needs to be validated.

[-node {<nodename>|local}] - Node

Use this parameter to specify the node name from which CIFS server connectivity needs to be validated.

[-netbios-name <TextNoCase>] - CIFS NetBIOS Name

Use this parameter to display netbios-name of the configured CIFS server.

[-cifs-status <TextNoCase>] - CIFS Server Status

Use this parameter to display status of configured CIFS server.

[-site <TextNoCase>] - CIFS Server Site

This parameter specifies the site discovered from ONTAP for the Active Directory domain associated with the CIFS server. If the discovery fails, this parameter will be updated with the default-site of associated cifs server.

[-server <TextNoCase>] - Domain Controller Name

Use this parameter to display Domain name of the configured CIFS server.

[-server-ip <text>] - Domain Controller IP Addr

Use this parameter to display IP-address of the configured CIFS server.

[-status {down|up}] - Connectivity Status

Use this parameter to display information only about CIFS servers with a status that matches the value you specify.

[-status-details <text>] - Connectivity Status Details

Use this parameter to display information only about CIFS servers with status details that match the value you specify.

Examples

The following example checks the connectivity of CIFS server on vserver vs0 from each node.

cluster1::> vserver cifs check -vserver vs0
Vserver : vs0
                 Cifs NetBIOS Name : NEWSERVER
                       Cifs Status : up
                              Site : Bangalore

Node Name DC Server Name    DC Server IP  Status  Status Details
--------- ----------------  ------------  ------- --------------
node1     CIFSSERVER.COM    10.11.12.13    up     Response time (msec): 55
node2     CIFSSERVER.COM    10.11.12.13    up     Response time (msec): 70
node3     CIFSSERVER.COM    10.11.12.13    down   Secd: No Server available.